From 4e6b6d16812735fc1b02fd276ca1c701638a6638 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Sun, 9 Jul 2023 16:01:40 +0700 Subject: [PATCH] =?UTF-8?q?=D0=B8=20=D0=BF=D0=BE=D1=87=D0=B5=D0=BC=D1=83?= =?UTF-8?q?=20=D0=BA=D1=80=D0=B5=D1=81=D1=82=D0=B8=D0=BA=D0=B0=20=D0=BD?= =?UTF-8?q?=D0=B5=D1=82=20=D0=B2=20=D1=8D=D0=BA=D0=B7=D0=BE=D0=BF=D0=B0?= =?UTF-8?q?=D0=BA=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dbotthepony/mc/otm/client/screen/ExoPackInventoryScreen.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/ExoPackInventoryScreen.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/ExoPackInventoryScreen.kt index f3e494f47..f11babb5c 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/ExoPackInventoryScreen.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/ExoPackInventoryScreen.kt @@ -55,6 +55,9 @@ class ExoPackInventoryScreen(menu: ExoPackInventoryMenu) : MatteryScreen> { val frame = FramePanel(this, width = 200f, height = FRAME_BASE_HEIGHT + inventoryRows * AbstractSlotPanel.SIZE, title = this.title) + frame.makeCloseButton() + frame.onClose { onClose() } + frame.makeHelpButton().addSlotFiltersHelp().tooltips.add(TranslatableComponent("otm.gui.help.slot_charging")) val hotbarStrip = EditablePanel(this, frame, height = 18f)