diff --git a/common/draw_frame.cpp b/common/draw_frame.cpp index 442e110e6c..6f06993978 100644 --- a/common/draw_frame.cpp +++ b/common/draw_frame.cpp @@ -905,7 +905,7 @@ void EDA_DRAW_FRAME::AdjustScrollBars( const wxPoint& aCenterPositionIU ) // Account for scrollbars wxSize scrollbarSizeDU = m_canvas->GetSize() - m_canvas->GetClientSize(); - wxSize scrollbarSizeIU = scrollbarSizeDU * scale; + wxSize scrollbarSizeIU = scrollbarSizeDU * (1 / scale); wxPoint centerAdjustedIU = aCenterPositionIU + scrollbarSizeIU / 2; // The upper left corner of the client rectangle in internal units.