mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-11-16 07:23:52 +01:00
22 lines
489 B
Plaintext
22 lines
489 B
Plaintext
/// @description Insert description here
|
|
if(item_sel_submenu) {
|
|
if(!instance_exists(item_sel_submenu))
|
|
item_sel_submenu = noone;
|
|
exit;
|
|
}
|
|
|
|
if(init_press_l) {
|
|
if(MOUSE_POOL.lrelease)
|
|
init_press_l = false;
|
|
exit;
|
|
}
|
|
|
|
if(submenu != noone && !instance_exists(submenu))
|
|
submenu = noone;
|
|
|
|
var hov = point_in(mouse_raw_x, mouse_raw_y);
|
|
if(instance_exists(submenu))
|
|
hov |= submenu.point_in(mouse_raw_x, mouse_raw_y);
|
|
|
|
_hovering_ch = hov;
|
|
if(!hov && MOUSE_POOL.lpress) instance_destroy(); |