This commit is contained in:
phidias authored and GitHub committed 2026-11-17 18:34:09 +09:00
1 parent c5df1c137d
commit 7e18ccb286
1 file changed
+1 -5
+1 -5
View File
@@ -84,7 +84,6 @@ Elements.container_info = Gui.define("calculator/container_info")
end}
--- Info button
--- @overload fun(parent: LuaGuiElement, screen: LuaGuiElement): LuaGuiElement
Elements.calculator_info_button = Gui.define("calculator/info_button")
:draw{
type = "sprite-button",
@@ -93,11 +92,8 @@ Elements.calculator_info_button = Gui.define("calculator/info_button")
tooltip = {"exp-gui_calculator.info_tooltip"},
name = "calculator_info_button",
}
:element_data(
Gui.from_argument(1)
)
:on_click(function(def, player, element)
Elements.container(player.gui.screen)
Elements.container_info(player.gui.screen)
end) --[[@as any]]
--- Input textfield