From 35b186556ebd9908d417032240461d8193ef6b77 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Sun, 20 Aug 2023 15:44:20 +0700 Subject: [PATCH] Add "cancel all task" to button tooltip --- .../mc/otm/client/screen/matter/MatterPanelScreen.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/matter/MatterPanelScreen.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/matter/MatterPanelScreen.kt index b4b4a2127..334ab37ff 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/matter/MatterPanelScreen.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/matter/MatterPanelScreen.kt @@ -85,7 +85,7 @@ class MatterPanelScreen( { menu.cancelAll.accept(null) } ) } - ) + ).also { it.tooltips.add(TranslatableComponent("otm.gui.matter_panel.cancel_all")) } ) val scrollBar = DiscreteScrollBarPanel(this, frame, {