mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 19:45:22 +09:00
Fixed Gui.left._prototype:first_open
This commit is contained in:
@@ -164,7 +164,7 @@ function left._prototype:first_open(player)
|
||||
else
|
||||
frame = left_flow.add{type='frame',name=self.name,style=mod_gui.frame_style,caption=self.caption,direction='vertical'}
|
||||
frame.style.visible = false
|
||||
if is_type(self.open_on_join,'boolean') then frame.style.visible = self.open_on_join left_flow['gui-left-hide'].style.visible = true end
|
||||
if is_type(self.open_on_join,'boolean') then frame.style.visible = self.open_on_join if left_flow['gui-left-hide'] then left_flow['gui-left-hide'].style.visible = true end end
|
||||
end
|
||||
if is_type(self.draw,'function') then self.draw(frame) else frame.style.visible = false error('No Callback On '..self.name) end
|
||||
return frame
|
||||
|
||||
Reference in New Issue
Block a user