mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-25 22:46:19 +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(); |