Page 1 of 1

[0.9.1]Destroyed custom gui don't resize parent gui

Posted: Fri Mar 07, 2014 10:00 am
by ficolas
1:When right clicking a GUI (a modded GUI or a game gui), it counts as a normal left click, but the clicking picture is not shown.

2:When the custom gui is placed in the center, it doesnt update if a element is added to a child element:
Ej:

Code: Select all

game.player.gui.center.add{type="frame",name="frame",caption="This is centered fine"} 
game.player.gui.center.frame.add{type="button",name="button1",caption="---"} 
 
This one is centered fine.

Code: Select all

game.player.gui.center.add{type="frame",name="frame",caption="This doesnt"} 
game.player.gui.center.add{type="flow",name="flow"} 
game.player.gui.center.frame.flow.add{type="button",name="button1",caption="---"} 
But this one doesnt.

3: The GUI is still there as a "ghost" if the GUI is destroyed.

Code: Select all

game.player.gui.center.add{type="frame",name="frame",caption="This is centered fine"} 
game.player.gui.center.frame.add{type="button",name="button1",caption="---"} 
game.player.gui.center.frame.destroy() 
You wont be able to destroy/rightclick stuff where the GUI was (try to destroy a tree that is next to the player)

Re: [0.9.1]Destroyed custom gui don't resize parent gui

Posted: Fri Mar 07, 2014 1:21 pm
by kovarex
Thank you for the report, it is now fixed for 0.9.2