瀏覽代碼

fix-typo (#541)

Alexandr Xenofontov 4 月之前
父節點
當前提交
0f9e80b4ca
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/en/manuals/editor-scripts-ui.md

+ 1 - 1
docs/en/manuals/editor-scripts-ui.md

@@ -153,7 +153,7 @@ local create_file = editor.ui.show_dialog(editor.ui.dialog({
                 grow = true,
                 text = file_name,
                 -- Typing callback:
-                on_text_changed = function(new_text)
+                on_value_changed = function(new_text)
                     file_name = new_text
                 end
             })