Skip to content

Commit

Permalink
Init nativeZoom of Tracker on creation
Browse files Browse the repository at this point in the history
As one constructor of Tracker is not calling the super constructor the nativeZoom attribute must be set here as well. As it only has the display as reference, the zoom of the display (currently equal to primary monitor zoom) will be used.

Contributes to eclipse-platform#62 and eclipse-platform#131
  • Loading branch information
akoch-yatta authored and HeikoKlare committed Jul 1, 2024
1 parent e138ae3 commit 3b4cebf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ public Tracker (Display display, int style) {
}
this.style = checkStyle (style);
this.display = display;
this.nativeZoom = display.getDeviceZoom();
reskinWidget ();
}

Expand Down

0 comments on commit 3b4cebf

Please sign in to comment.