Commit ec6a84d0 authored by charras's avatar charras

All: fixing a recent problem when using scroll bars: the full screen was...

All: fixing a recent problem when using scroll bars: the full screen was redrawn, that can be very slow in Pcbnew.
parent 09cccdff
......@@ -489,7 +489,7 @@ void WinEDA_DrawPanel::OnScroll( wxScrollWinEvent& event )
"posX=%d, posY=%d" ), ppux, ppuy, unitsX, unitsY, x, y );
#endif
Scroll( x/ppux, y/ppux );
Scroll( x/ppux, y/ppuy );
event.Skip();
}
......@@ -1443,7 +1443,7 @@ void WinEDA_DrawPanel::OnPan( wxCommandEvent& event )
if( y > maxY )
y = maxY;
Scroll( x/ppux, y/ppux );
Scroll( x/ppux, y/ppuy );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment