Fix "upgrades" button width
This commit is contained in:
parent
a92b893bc9
commit
87de48fffe
@ -483,9 +483,7 @@ class DeviceControls<out S : MatteryScreen<*>>(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (upgrades != null) {
|
if (upgrades != null) {
|
||||||
upgradesButton = addButton(object : ButtonPanel<S>(
|
upgradesButton = addButton(object : ButtonPanel<S>(screen, this@DeviceControls, width = 18f, height = 18f) {
|
||||||
screen, this@DeviceControls,
|
|
||||||
) {
|
|
||||||
init {
|
init {
|
||||||
tooltips.add(TranslatableComponent("otm.gui.upgrades"))
|
tooltips.add(TranslatableComponent("otm.gui.upgrades"))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user