updates on leaving inventory screen.
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
(or factor 1.0)))
|
||||
|
||||
(defn cursor [filename which]
|
||||
(let [scale 2
|
||||
(let [scale 4
|
||||
base-cursor (pixmap filename)
|
||||
target-width (* 16 scale)
|
||||
target-height (* 16 scale)
|
||||
@@ -56,7 +56,7 @@
|
||||
(pixmap! resized :draw-pixmap base-cursor (* index 18) 0 16 16
|
||||
0 0 target-width target-height)
|
||||
|
||||
(graphics! :new-cursor resized 0 0)))
|
||||
(graphics! :new-cursor resized 0 0 )))
|
||||
|
||||
(defn get-texture [path]
|
||||
(let [atlas-name (str/replace path #".png" "")
|
||||
|
||||
Reference in New Issue
Block a user