mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-12 11:34:05 +09:00
better drop shadow for tooltip
This commit is contained in:
@@ -10,7 +10,7 @@ import net.torvald.terrarumsansbitmap.gdx.TextureRegionPack
|
||||
*/
|
||||
object FloatDrawer : Disposable {
|
||||
|
||||
val tile = TextureRegionPack("assets/graphics/gui/message_white_tileable.tga", 16, 16)
|
||||
val tile = TextureRegionPack("assets/graphics/gui/message_white_tileable.tga", 36, 36)
|
||||
|
||||
init {
|
||||
AppLoader.disposableSingletonsPool.add(this)
|
||||
|
||||
@@ -40,7 +40,7 @@ class UITooltip : UICanvas() {
|
||||
val mouseX = 4f
|
||||
val mouseY = 6f
|
||||
|
||||
val tooltipYoff = 12
|
||||
val tooltipYoff = 50
|
||||
val tooltipY = mouseY - height + tooltipYoff
|
||||
|
||||
val txtW = msgWidth + 2f * textMarginX
|
||||
|
||||
Reference in New Issue
Block a user