Skip to content

Commit aa2203a

Browse files
committed
Fixes #305
1 parent ad2e49c commit aa2203a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/control_draw/control_draw.gml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2270,7 +2270,7 @@ function control_draw() {
22702270
// Draw debug overlay
22712271
if (debug_overlay) draw_debug_overlay()
22722272

2273-
window_set_cursor(curs)
2273+
if (display_mouse_get_x() - window_get_x() >= 0 && display_mouse_get_y() - window_get_y() >= 0 && display_mouse_get_x() - window_get_x() < 0 + window_width && display_mouse_get_y() - window_get_y() < 0 + window_height) window_set_cursor(curs)
22742274
mouse_xprev = mouse_x
22752275
mouse_yprev = mouse_y
22762276

0 commit comments

Comments
 (0)