Fix "upgrades" button width

This commit is contained in:
DBotThePony 2024-11-16 11:16:49 +07:00
parent a92b893bc9
commit 87de48fffe
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -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"))
}