Hide Quit button on web
This commit is contained in:
parent
17ba4ada30
commit
cd8be645a3
10
src/Main.hx
10
src/Main.hx
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user