mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-17 14:25:27 +09:00
Fixed Admin gui not closing; Gui draw more consistent
This commit is contained in:
1 parent
f0b1f51c0b
commit
2d1de044dd
13 files changed
+48
-58
No files matched your search
@@ -57,7 +57,7 @@ end)
|
||||
ThisModule.Gui = Gui.popup{
|
||||
name='announcements',
|
||||
caption={'GuiAnnouncements.name'},
|
||||
draw=function(frame,data)
|
||||
draw=function(self,frame,data)
|
||||
frame.style.right_padding = 5
|
||||
frame.style.bottom_padding = 5
|
||||
frame.add{type='label',caption=data.sent_by,style='caption_label'}
|
||||
@@ -72,7 +72,7 @@ ThisModule.Gui = Gui.popup{
|
||||
}:add_left{
|
||||
caption='item/programmable-speaker',
|
||||
tooltip={'GuiAnnouncements.tooltip'},
|
||||
draw=function(frame)
|
||||
draw=function(self,frame)
|
||||
frame.caption = {'GuiAnnouncements.name'}
|
||||
local frame = frame.add{
|
||||
type='flow',
|
||||
|
||||
Reference in new issue
Block a user