GUI Slots don't snap to grid

Published by WenXin2 on
Issue description

After creating a new GUI, I found out that the slots do not line up properly, despite having enabled snap-to-grid, and despite the slots appearing to line up correctly.

This seems to happen if I copy a previously made gui and then reposition/add new slots or if I add new slots to a gui that was already created.

 

In my workspace, I copied the CrateGUI element and named it CrateGUI2, resized the GUI and repositioned the slots, and then saved it.

Attached is my workspace and the png file it created.

Issue comments

Your workspace was hit by this snapshot bug too:

  • [Bugfix] Procedure updating failed when older workspaces were imported

I suggest opening all procedures and making sure entity dependency is properly defined.

Unrelated, but wanted to warn ;)

And if things like that happened again,delete the GUI texture then rebuild.If the GUI is broken,select REGENERATE CODE AND REBUILD.

WARNING:MAKE A BACK UP FIRST PLEASE!