diff options
| -rw-r--r-- | assets/sprites/gui/ui.skin | 6 | ||||
| -rw-r--r-- | core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/assets/sprites/gui/ui.skin b/assets/sprites/gui/ui.skin index 1e7ff60..3a6af61 100644 --- a/assets/sprites/gui/ui.skin +++ b/assets/sprites/gui/ui.skin @@ -233,5 +233,11 @@ knob: button_hover, knobBefore: button_pressed } + }, + com.badlogic.gdx.scenes.scene2d.ui.ScrollPane$ScrollPaneStyle: { + default: { + vScroll: bg, + vScrollKnob: button_hover + } } }
\ No newline at end of file diff --git a/core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java b/core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java index 1213794..7287cad 100644 --- a/core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java +++ b/core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java @@ -305,7 +305,8 @@ public class ShopUI { table.add(widget).growX().padBottom(5f).row(); } - ScrollPane scrollPane = new ScrollPane(table); + ScrollPane scrollPane = new ScrollPane(table, this.skin); + scrollPane.setFadeScrollBars(false); scrollPane.setScrollingDisabled(true, false); shopListTable = new Table(this.skin); |
