Pixel-Composer/objects/_p_dialog/Destroy_0.gml

13 lines
288 B
Plaintext
Raw Normal View History

2022-01-13 05:24:03 +01:00
/// @description init
2022-11-03 11:44:49 +01:00
if(sHOVER) HOVER = noone;
if(sFOCUS) setFocus(noone);
2022-01-13 05:24:03 +01:00
2023-01-17 08:11:55 +01:00
WIDGET_CURRENT = noone;
2023-02-28 09:43:01 +01:00
ds_list_remove(DIALOGS, self);
2024-01-16 14:08:57 +01:00
if(parent) array_remove(parent.children, id);
if(!passthrough) MOUSE_BLOCK = true;
2024-09-11 11:56:41 +02:00
if(window != noone && winwin_exists(window))
winwin_destroy(window);