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) {
|
||||
upgradesButton = addButton(object : ButtonPanel<S>(
|
||||
screen, this@DeviceControls,
|
||||
) {
|
||||
upgradesButton = addButton(object : ButtonPanel<S>(screen, this@DeviceControls, width = 18f, height = 18f) {
|
||||
init {
|
||||
tooltips.add(TranslatableComponent("otm.gui.upgrades"))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user