[1.1.32] Main GUIs do not recenter after removing relative GUI

Post your bugs and problems so we can fix them.
Post Reply
Xorimuth
Filter Inserter
Filter Inserter
Posts: 276
Joined: Sat Mar 02, 2019 9:39 pm
Contact:

[1.1.32] Main GUIs do not recenter after removing relative GUI

Post by Xorimuth »

When a relative GUI is added, the main GUI recenters, but it does not go back when the relative GUI is destroyed (or hidden). See video:



Related, if the relative GUI size is extended downwards, the GUI is not recentered until after closing and reopening it, even though it clearly knows how much space it has because it only extends to a maximum size that fits nicely after recentering.



(Video seems to get stuck halfway through when viewing in the browser... please download and watch locally if you are confused!)

Doing

Code: Select all

player.opened = nil
player.opened = spidertron
after adding/removing the relative GUI has no effect.

Post Reply

Return to “Bug Reports”