Skip to content

Commit f0e13ed

Browse files
amartya4256HeikoKlare
authored andcommitted
Only redraw once after scaling every widget #62
This commit contributes to reducing the number of redraws and only draw once all the widgets have performed scaling using their Widget:handleDpiChange handlers. contributes to #62 and #128
1 parent ae2bb1d commit f0e13ed

File tree

1 file changed

+0
-1
lines changed
  • bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets

1 file changed

+0
-1
lines changed

bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1984,6 +1984,5 @@ private static void handleDPIChange(Widget widget, int newZoom, float scalingFac
19841984
for (Control child : composite.getChildren()) {
19851985
DPIZoomChangeRegistry.applyChange(child, newZoom, scalingFactor);
19861986
}
1987-
composite.redrawInPixels (null, true);
19881987
}
19891988
}

0 commit comments

Comments
 (0)