退出按钮函数注释

This commit is contained in:
joylink_fanyuhong 2024-08-01 08:42:52 +08:00
parent ee51e886a8
commit 6b47351c30

View File

@ -19,16 +19,16 @@ func update():
%SceneDescription.text = sceneDesc
#func _on_start_pressed():
#StartTraining.emit()
#hide()
func _on_quit_pressed():
QuitTraining.emit()
JavaScriptBridge.eval("console.log('关闭浏览器标签')")
JavaScriptBridge.eval("window.close();")
func _on_start_pressed():
StartTraining.emit()
hide()
#func _on_quit_pressed():
#QuitTraining.emit()
#JavaScriptBridge.eval("console.log('关闭浏览器标签')")
#JavaScriptBridge.eval("window.close();")
#hide()
func _on_teach_mode_pressed():
$"../total".trainingMode = TotalScene.Training_Mode.Teach