Skip to content

Commit bf5110f

Browse files
committed
minimize crash fix
1 parent 5a701b7 commit bf5110f

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

PizzaTowerFontTool.yyp

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

objects/obj_textdraw/Step_0.gml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if (global.textshake)
88
else
99
xi = 0
1010

11-
if (room_width != window_get_width() || room_height != window_get_height())
11+
if ((room_width != window_get_width() || room_height != window_get_height()) && window_has_focus())
1212
{
1313
surface_resize(application_surface, window_get_width(), window_get_height())
1414
surface_resize(surf, window_get_width(), window_get_height())

options/windows/options_windows.yy

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)