Barotrauma

Barotrauma

44 ratings
Remove GUI Window Position Restrictions
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
7.536 KB
Feb 10, 2024 @ 8:19am
Apr 10 @ 4:59pm
4 Change Notes ( view )

Subscribe to download
Remove GUI Window Position Restrictions

Description
Now you can drag and drop GUI windows on top of each other without any restrictions

This is a cheap temporary solution to this issue [github.com] until the :barodevs: come up with a better one

Also window "lock position" now works properly [github.com]
6 Comments
Nupaska  [author] Apr 10 @ 12:50pm 
2,491 subscribers, xd
Black Lenin Apr 10 @ 12:47pm 
Unfortunately doesn't work with the last update (((
Is it possible to update this mod?
Cultist ⁧⁧ ඞ Feb 18, 2024 @ 8:08am 
Windows Locking is such a great feature that never did anything, thanks so much!
Etto Feb 12, 2024 @ 10:42am 
Gotcha! Yeah, I hope it gets fixed as well.

Probably the greatest offender for me is the Beacon Headset in the atools.xml file of LeCrazyy's Item Variety Pack . It returns to the top left side every mission and I had to move it to the top right manually, as well as set the name again, but that's a separate issue.

Regardless, I have a clientside fix for it by editing the relative offset and whatnot in the xml file, but it'd be convenient if the dang GUI would just remember where I place and locked it, hahah.

Don't spend too much time looking into it if you pursue it, but I definitely appreciate it! Thanks again for this mod, it makes linked containers much more tolerable.
Nupaska  [author] Feb 12, 2024 @ 5:56am 
Idk. The fact that this mod also fixes window locking is just a lucky coincidence
I have no idea why it was broken or why it's fixed

Mod changes ItemComponent.guiFrameDragHandle.ValidatePosition so i think all windows created by any item should be afected

I couldn't find any other code that could restrict positions, give me links to those mods and i check why it's not working for them

Also broken locking is barotrauma issue, i'm hope it gets fixed in next update
Etto Feb 11, 2024 @ 11:49pm 
This absolutely drove me up the wall, hahah. Thank you very much for this mod!

I have a few other mods that add gui's that reset every level even if I lock them as well. Is there a specific modification or tag I can add to those mods in order to have them also maintain position between levels when I choose to lock them?