mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-09 16:14:13 +00:00
Previously if you clicked on an object and you already had the NanoUI open, two things could happen: * The UI only updates * The UI reopens with a white BYOND flash. The latter did always move it to the foreground, but the flash and UI moving was pretty ugly. The former only updates the UI, so if you had multiple stacked windows open it gets kinda annoying. With this change, all UIs always do the former, and the UI for an object always moves to the front when you interact with said object.
4 lines
134 B
Plaintext
4 lines
134 B
Plaintext
// Argument passed to the force_open parameter on things such as ui_interact.
|
|
#define NANOUI_FORCE_OPEN 1
|
|
#define NANOUI_FOCUS 2
|