should make scaling look better.
This commit is contained in:
@@ -51,7 +51,7 @@
|
|||||||
target-height (* 16 scale)
|
target-height (* 16 scale)
|
||||||
resized (Pixmap. target-width target-height (.getFormat base-cursor))
|
resized (Pixmap. target-width target-height (.getFormat base-cursor))
|
||||||
index (.indexOf +all-cursors+ which)]
|
index (.indexOf +all-cursors+ which)]
|
||||||
#_(Pixmap/setFilter Pixmap$Filter/NearestNeighbour)
|
(Pixmap/setFilter Pixmap$Filter/NearestNeighbour)
|
||||||
(pixmap! resized :draw-pixmap base-cursor (* index 16) 0 16 16
|
(pixmap! resized :draw-pixmap base-cursor (* index 16) 0 16 16
|
||||||
0 0 target-width target-height)
|
0 0 target-width target-height)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user