All: fixing a recent problem when using scroll bars: the full screen was redrawn, that can be very slow in Pcbnew.
This commit is contained in:
parent
09cccdff3e
commit
ec6a84d0bb
|
@ -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 );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue