2024-04-08 07:13:46 +02:00
|
|
|
/// @description Insert description here
|
2024-09-11 11:56:41 +02:00
|
|
|
if(item_sel_submenu) {
|
|
|
|
if(!instance_exists(item_sel_submenu))
|
|
|
|
item_sel_submenu = noone;
|
|
|
|
exit;
|
2024-04-08 07:13:46 +02:00
|
|
|
}
|
2024-09-11 11:56:41 +02:00
|
|
|
|
2024-09-12 05:08:48 +02:00
|
|
|
if(init_press_l) {
|
|
|
|
if(MOUSE_POOL.lrelease)
|
|
|
|
init_press_l = false;
|
|
|
|
exit;
|
|
|
|
}
|
|
|
|
|
2024-09-13 12:29:19 +02:00
|
|
|
if(submenu != noone && !instance_exists(submenu))
|
|
|
|
submenu = noone;
|
|
|
|
|
2024-09-11 11:56:41 +02:00
|
|
|
var hov = point_in(mouse_raw_x, mouse_raw_y);
|
2024-09-13 10:09:19 +02:00
|
|
|
if(instance_exists(submenu))
|
|
|
|
hov |= submenu.point_in(mouse_raw_x, mouse_raw_y);
|
2024-09-12 05:08:48 +02:00
|
|
|
|
2024-04-08 07:13:46 +02:00
|
|
|
_hovering_ch = hov;
|
2024-09-12 05:08:48 +02:00
|
|
|
if(!hov && MOUSE_POOL.lpress) instance_destroy();
|