mirror of
https://github.com/PoshoDev/DexTool.git
synced 2026-03-23 02:04:27 -05:00
18 lines
412 B
Plaintext
18 lines
412 B
Plaintext
if (mouse_wheel_up() || keyboard_check_pressed(vk_up))
|
|
{
|
|
global.current_box--;
|
|
|
|
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();
|
|
} |