mirror of
https://github.com/PoshoDev/DexTool.git
synced 2026-08-13 13:15:32 -05:00
Switcharoo to Gee Emm 2.3
This commit is contained in:
@@ -1,18 +1,22 @@
|
||||
if (mouse_wheel_up() || keyboard_check_pressed(vk_up))
|
||||
{
|
||||
global.current_box--;
|
||||
function scroll_check() {
|
||||
if (mouse_wheel_up() || keyboard_check_pressed(vk_up))
|
||||
{
|
||||
global.current_box--;
|
||||
|
||||
if (global.current_box < 1)
|
||||
global.current_box = 1;
|
||||
else
|
||||
scroll_do();
|
||||
if (global.current_box < 1)
|
||||
global.current_box = 1;
|
||||
else
|
||||
scroll_do();
|
||||
}
|
||||
else if (mouse_wheel_down() || keyboard_check_pressed(vk_down))
|
||||
{
|
||||
global.current_box++;
|
||||
|
||||
if (global.current_box > global.box_count-1)
|
||||
global.current_box = global.box_count-1;
|
||||
else
|
||||
scroll_do();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
else if (mouse_wheel_down() || keyboard_check_pressed(vk_down))
|
||||
{
|
||||
global.current_box++;
|
||||
|
||||
if (global.current_box > global.box_count-1)
|
||||
global.current_box = global.box_count-1;
|
||||
else
|
||||
scroll_do();
|
||||
}
|
||||
@@ -1,8 +1,12 @@
|
||||
{
|
||||
"id": "cf1f53d0-1b66-da1a-c70e-53a1d7177805",
|
||||
"modelName": "GMScript",
|
||||
"mvc": "1.0",
|
||||
"name": "scroll_check",
|
||||
"IsCompatibility": false,
|
||||
"IsDnD": false
|
||||
"isDnD": false,
|
||||
"isCompatibility": false,
|
||||
"parent": {
|
||||
"name": "Scripts",
|
||||
"path": "folders/Scripts.yy",
|
||||
},
|
||||
"resourceVersion": "1.0",
|
||||
"name": "scroll_check",
|
||||
"tags": [],
|
||||
"resourceType": "GMScript",
|
||||
}
|
||||
Reference in New Issue
Block a user