Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4959,8 +4959,9 @@ LRESULT WM_DESTROY (long wParam, long lParam) {
void handleMonitorSpecificDpiChange(int newNativeZoom, Rectangle newBoundsInPixels) {
float scalingFactor = 1f * DPIUtil.getZoomForAutoscaleProperty(newNativeZoom) / DPIUtil.getZoomForAutoscaleProperty(nativeZoom);
DPIUtil.setDeviceZoom (newNativeZoom);
DPIZoomChangeRegistry.applyChange(this, newNativeZoom, scalingFactor);
this.setBoundsInPixels(newBoundsInPixels.x, newBoundsInPixels.y, newBoundsInPixels.width, newBoundsInPixels.height);
DPIZoomChangeRegistry.applyChange(this, newNativeZoom, scalingFactor);

}

LRESULT WM_DPICHANGED (long wParam, long lParam) {
Expand Down
Loading