mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-27 07:26:33 +01:00
22 lines
No EOL
489 B
Text
22 lines
No EOL
489 B
Text
/// @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(); |