Open akoch-yatta opened 4 months ago
@fedejeanne I see a PR being merged for this one. Should we close this here?
Which PR do you refer to? The one referring to this issue (https://github.com/eclipse/gef-classic/pull/479, even though the link has been removed), is specific to GEF and and is not a solution for this issue in general.
For system cursors windows has them autoscaled to the DPI it is used on. That does not work when cursors are created by the Constructors with ImageData provided to them. One solution here could be to apply the "one cursor handle per zoom"-pattern as it is done in the other resources. But with ImageData as data source this would result in a pixelated scaling. Better would probably be to provide one or more additional constructors with ImageDataProvider and/or ImageFileNameProvider instead of ImageData to be able to properly fetch scaled variants of a cursor.