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

This subforum contains all the issues which we already resolved.
Post Reply
ficolas
Smart Inserter
Smart Inserter
Posts: 1068
Joined: Sun Feb 24, 2013 10:24 am
Contact:

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

Post 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)

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

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

Post by kovarex »

Thank you for the report, it is now fixed for 0.9.2

Post Reply

Return to “Resolved Problems and Bugs”