@@ -630,7 +630,7 @@ function control_draw() {
630
630
if ((editmode != m_key) && (keyboard_check_pressed (ord (" G" ))) && !isplayer) mode_action (6 )
631
631
if (keyboard_check_pressed (ord (" P" ))) window = w_preferences
632
632
if (language != 1 ) {
633
- if (keyboard_check_pressed (187 ) || mouse_wheel_up ()) {
633
+ if (keyboard_check_pressed (187 ) || ( mouse_wheel_up () && mouse_check_button (mb_middle) )) {
634
634
if (window_scale >= 0.5 && window_scale < 0.67 ) {window_scale = 0.67 set_msg (" Window Scale => 67%" )}
635
635
else if (window_scale < 0.75 ) {window_scale = 0.75 set_msg (" Window Scale => 75%" )}
636
636
else if (window_scale < 0.8 ) {window_scale = 0.8 set_msg (" Window Scale => 80%" )}
@@ -645,7 +645,7 @@ function control_draw() {
645
645
else if (window_scale < 3.5 ) {window_scale = 3.5 set_msg (" Window Scale => 350%" )}
646
646
else if (window_scale < 4 ) {window_scale = 4 set_msg (" Window Scale => 400%" )}
647
647
}
648
- if (keyboard_check_pressed (189 ) || mouse_wheel_down ()) {
648
+ if (keyboard_check_pressed (189 ) || ( mouse_wheel_down () && mouse_check_button (mb_middle) )) {
649
649
if (window_scale <= 4 && window_scale > 3.5 ) {window_scale = 3.5 set_msg (" Window Scale => 350%" )}
650
650
else if (window_scale > 3 ) {window_scale = 3 set_msg (" Window Scale => 300%" )}
651
651
else if (window_scale > 2.5 ) {window_scale = 2.5 set_msg (" Window Scale => 250%" )}
@@ -661,7 +661,7 @@ function control_draw() {
661
661
else if (window_scale > 0.5 ) {window_scale = 0.5 set_msg (" Window Scale => 50%" )}
662
662
}
663
663
} else {
664
- if (keyboard_check_pressed (187 ) || mouse_wheel_up ()) {
664
+ if (keyboard_check_pressed (187 ) || ( mouse_wheel_up () && mouse_check_button (mb_middle) )) {
665
665
if (window_scale >= 0.5 && window_scale < 0.67 ) {window_scale = 0.67 set_msg (" 窗口缩放 => 67%" )}
666
666
else if (window_scale < 0.75 ) {window_scale = 0.75 set_msg (" 窗口缩放 => 75%" )}
667
667
else if (window_scale < 0.8 ) {window_scale = 0.8 set_msg (" 窗口缩放 => 80%" )}
@@ -676,7 +676,7 @@ function control_draw() {
676
676
else if (window_scale < 3.5 ) {window_scale = 3.5 set_msg (" 窗口缩放 => 350%" )}
677
677
else if (window_scale < 4 ) {window_scale = 4 set_msg (" 窗口缩放 => 400%" )}
678
678
}
679
- if (keyboard_check_pressed (189 ) || mouse_wheel_down ()) {
679
+ if (keyboard_check_pressed (189 ) || ( mouse_wheel_down () && mouse_check_button (mb_middle) )) {
680
680
if (window_scale <= 4 && window_scale > 3.5 ) {window_scale = 3.5 set_msg (" 窗口缩放 => 350%" )}
681
681
else if (window_scale > 3 ) {window_scale = 3 set_msg (" 窗口缩放 => 300%" )}
682
682
else if (window_scale > 2.5 ) {window_scale = 2.5 set_msg (" 窗口缩放 => 250%" )}
0 commit comments