OnPixelInUI is meant to be a scaling factor, not a vector.

Fixes https://gitlab.com/kicad/code/kicad/issues/4669
This commit is contained in:
Jeff Young 2020-08-01 00:16:10 +01:00
parent e86fc64e7d
commit 93e3268030
1 changed files with 1 additions and 1 deletions

View File

@ -465,7 +465,7 @@ public:
m_IgnoreTracks = false; m_IgnoreTracks = false;
m_IgnoreZoneFills = true; m_IgnoreZoneFills = true;
m_OnePixelInIU = aView->ToWorld( one, false ).x; m_OnePixelInIU = abs( aView->ToWorld( one, false ).x );
} }
/** /**