diff --git a/desktop/resources/cursor.png b/desktop/resources/cursor.png index 5bd547e8..fb100f31 100644 Binary files a/desktop/resources/cursor.png and b/desktop/resources/cursor.png differ diff --git a/desktop/resources/cursor_light.png b/desktop/resources/cursor_light.png index 157f8f5a..e572c973 100644 Binary files a/desktop/resources/cursor_light.png and b/desktop/resources/cursor_light.png differ diff --git a/desktop/src-common/advent/screens/inventory.clj b/desktop/src-common/advent/screens/inventory.clj index 6db0883b..e601d1ff 100644 --- a/desktop/src-common/advent/screens/inventory.clj +++ b/desktop/src-common/advent/screens/inventory.clj @@ -73,7 +73,7 @@ :opacity 0.7 :origin-x 0 :origin-y 0) - :all-items (texture! (texture (pixmap "cursor.png")) :split 16 16) + :all-items (texture! (texture (pixmap "cursor.png")) :split 18 16) :items [] :shown? false :highlighted-item nil @@ -119,7 +119,7 @@ base-y (* 180 4) x (+ base-x (* column (* 24 4))) y (- base-y (* row (* 24 4))) - item-width 16 + item-width 18 offset-x (+ x (/ item-width 2)) offset-y (+ y (/ item-width 2)) padding (/ item-width 2) diff --git a/desktop/src-common/advent/utils.clj b/desktop/src-common/advent/utils.clj index d3cf8bb1..a4480f39 100644 --- a/desktop/src-common/advent/utils.clj +++ b/desktop/src-common/advent/utils.clj @@ -53,7 +53,7 @@ resized (Pixmap. target-width target-height (.getFormat base-cursor)) index (.indexOf +all-cursors+ which)] (Pixmap/setFilter Pixmap$Filter/NearestNeighbour) - (pixmap! resized :draw-pixmap base-cursor (* index 16) 0 16 16 + (pixmap! resized :draw-pixmap base-cursor (* index 18) 0 16 16 0 0 target-width target-height) resized ))