better font filtering.
This commit is contained in:
@@ -125,7 +125,10 @@
|
||||
(tween/tween :fade-out-music screen [:volume] 1.0 0.0 1.0)))))
|
||||
|
||||
(defn button-style []
|
||||
(skin! (skin "ui/ui.json") :get TextButton$TextButtonStyle))
|
||||
(let [style (skin! (skin "ui/ui.json") :get TextButton$TextButtonStyle)
|
||||
tx (-> style .font .getRegion .getTexture)]
|
||||
(call! ^Texture tx :set-filter Texture$TextureFilter/Linear Texture$TextureFilter/Linear)
|
||||
style))
|
||||
|
||||
(defn save-object [a]
|
||||
(.setUserObject ^Actor (:object a) a)
|
||||
|
||||
Reference in New Issue
Block a user