mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-21 07:33:12 +09:00
.
This commit is contained in:
1 parent
c5df1c137d
commit
7e18ccb286
1 file changed
+1
-5
@@ -84,7 +84,6 @@ Elements.container_info = Gui.define("calculator/container_info")
|
|||||||
end}
|
end}
|
||||||
|
|
||||||
--- Info button
|
--- Info button
|
||||||
--- @overload fun(parent: LuaGuiElement, screen: LuaGuiElement): LuaGuiElement
|
|
||||||
Elements.calculator_info_button = Gui.define("calculator/info_button")
|
Elements.calculator_info_button = Gui.define("calculator/info_button")
|
||||||
:draw{
|
:draw{
|
||||||
type = "sprite-button",
|
type = "sprite-button",
|
||||||
@@ -93,11 +92,8 @@ Elements.calculator_info_button = Gui.define("calculator/info_button")
|
|||||||
tooltip = {"exp-gui_calculator.info_tooltip"},
|
tooltip = {"exp-gui_calculator.info_tooltip"},
|
||||||
name = "calculator_info_button",
|
name = "calculator_info_button",
|
||||||
}
|
}
|
||||||
:element_data(
|
|
||||||
Gui.from_argument(1)
|
|
||||||
)
|
|
||||||
:on_click(function(def, player, element)
|
:on_click(function(def, player, element)
|
||||||
Elements.container(player.gui.screen)
|
Elements.container_info(player.gui.screen)
|
||||||
end) --[[@as any]]
|
end) --[[@as any]]
|
||||||
|
|
||||||
--- Input textfield
|
--- Input textfield
|
||||||
|
|||||||
Reference in new issue
Block a user