Hello!
I think, that I found a bug on Windows.
I did this resize action and it does not work on windows in Chrome.
Code
if(
stagewidth LT 1022, trace('case 0'); size_case_0();,
(stagewidth GT 1024) AND (stagewidth LT 1368), trace('case 1'); size_case_1();,
(stagewidth GT 1369) AND (stagewidth LT 1918), trace('case 2'); size_case_2();,
stagewidth GT 1922, trace('case 3'); size_case_3();
);
When I add new variable stage_width - everything works good.
Code
set(stage_width, get(stagewidth));
if(
stage_width LT 1022, trace('case 0'); size_case_0();,
(stage_width GT 1024) AND (stage_width LT 1368), trace('case 1'); size_case_1();,
(stage_width GT 1369) AND (stage_width LT 1918), trace('case 2'); size_case_2();,
stage_width GT 1922, trace('case 3'); size_case_3();
);