You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[90] Fix cursor initialization when using fractional scaling
Recent Eclipse version support fractional zoom level as opposed to 100%
or 200% zoom. Because no icons exist for those levels, an
IllegalArgumentException is thrown when trying to create the
corresponding cursors.
In order to solve this, one has to consider the following cases:
1) Newer SWT versions provide a Cursor constructor that accepts an
ImageDataProvider. This constructor always creates image data matching
the device zoom.
2) Older SWT versions automatically upscale the image data to match the
device zoom. Therefore the original image data must be at 100% zoom.
0 commit comments