Hide Quit button on web

This commit is contained in:
3wc 2024-02-13 13:47:41 -03:00
parent 17ba4ada30
commit cd8be645a3

View File

@ -16,9 +16,13 @@ class Main extends hxd.App {
root.btnContinueGame.onClick = function() {
root.btnContinueGame.dom.addClass("highlight");
}
// root.btnQuit.onClick = function() {
// Sys.exit(0);
// }
#if hl
root.btnQuit.onClick = function() {
Sys.exit(0);
}
#else
root.btnQuit.remove();
#end
style = new h2d.domkit.Style();
style.load(hxd.Res.style);