We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 721e6a1 commit e0fb815Copy full SHA for e0fb815
1 file changed
tests/test_html5.c
@@ -421,6 +421,8 @@ int main()
421
emscripten_get_screen_size(&width, &height);
422
printf("Current screen size: %dx%d\n", width, height);
423
424
+ emscripten_set_element_style("canvas", "cursor", "crosshair");
425
+
426
/* For the events to function, one must either call emscripten_set_main_loop or enable Module.noExitRuntime by some other means.
427
Otherwise the application will exit after leaving main(), and the atexit handlers will clean up all event hooks (by design). */
428
EM_ASM(noExitRuntime = true);
0 commit comments