From d3e8a927795c33ab1c1de87fa964c17167dcaa4f Mon Sep 17 00:00:00 2001 From: RandomityGuy <31925790+RandomityGuy@users.noreply.github.com> Date: Thu, 2 May 2024 21:23:30 +0530 Subject: [PATCH] fix syntax --- src/gui/EnterNameDlg.hx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/gui/EnterNameDlg.hx b/src/gui/EnterNameDlg.hx index 866033e7..bdc2df65 100644 --- a/src/gui/EnterNameDlg.hx +++ b/src/gui/EnterNameDlg.hx @@ -56,16 +56,16 @@ class EnterNameDlg extends GuiImage { textFrame.addChild(textInput); textInput.text.text = Settings.highscoreName == "" ? "Player Name" : Settings.highscoreName; - enterNameEdit.text.onFocus = (e) -> { - dlg.vertSizing = Bottom; - dlg.position = new Vector(110, 56); - dlg.render(MarbleGame.canvas.scene2d); - } - enterNameEdit.text.onFocusLost = (e) -> { - dlg.vertSizing = Center; - dlg.position = new Vector(110, 112); - dlg.render(MarbleGame.canvas.scene2d); - } + // textInput.text.onFocus = (e) -> { + // dlg.vertSizing = Bottom; + // dlg.position = new Vector(110, 56); + // dlg.render(MarbleGame.canvas.scene2d); + // } + // textInput.text.onFocusLost = (e) -> { + // dlg.vertSizing = Center; + // dlg.position = new Vector(110, 112); + // dlg.render(MarbleGame.canvas.scene2d); + // } var okButton = new GuiXboxButton("Ok", 120); okButton.position = new Vector(211, 248);