outsidehouse
This commit is contained in:
@@ -55,8 +55,6 @@
|
||||
(fn [screen entities {:keys [create-talk target-id color text x y scale scene-viewport id]}]
|
||||
(let [font (doto (bitmap-font "ego/font.fnt" )
|
||||
(bitmap-font! :set-use-integer-positions false))
|
||||
p (NinePatchEntity. (skin! (skin "ui/ui.json") :get-patch "ui-bg"))
|
||||
_ (nine-patch! p :set-padding 25 25 5 15)
|
||||
|
||||
tr (bitmap-font! font :get-region)
|
||||
scale (* scale (/ utils/ui-scale 2))
|
||||
@@ -241,8 +239,6 @@
|
||||
:on-toast
|
||||
(fn [screen entities {:keys [message]}]
|
||||
(let [font (bitmap-font "ego/font.fnt" )
|
||||
p (nine-patch {:region (:object (utils/get-texture "talk-bg-2.png")) :left 9 :top 9 :right 9 :bottom 9})
|
||||
_ (nine-patch! p :set-padding 25 25 5 15)
|
||||
|
||||
tr (bitmap-font! font :get-region)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user