From 8af98ac84fdcef1295fbc82137d6b65a703d4388 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Mon, 10 Jun 2024 02:30:27 +0500 Subject: feat: show tooltips for pets --- assets/sprites/gui/ui.skin | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'assets/sprites/gui/ui.skin') diff --git a/assets/sprites/gui/ui.skin b/assets/sprites/gui/ui.skin index e73ff8d..4a1bd53 100644 --- a/assets/sprites/gui/ui.skin +++ b/assets/sprites/gui/ui.skin @@ -41,6 +41,10 @@ store_control: { file: ../../fnt/FontText.fnt, scaledSize: 18 + }, + tooltip: { + file: ../../fnt/FontText.fnt, + scaledSize: 19 } }, com.badlogic.gdx.scenes.scene2d.ui.TextButton$TextButtonStyle: { @@ -89,5 +93,13 @@ fontColor: white, background: button_disabled } + }, + com.badlogic.gdx.scenes.scene2d.ui.TextTooltip$TextTooltipStyle: { + default: { + label: { + font: tooltip + }, + background: button_disabled + } } } \ No newline at end of file -- cgit v1.2.3