Browse Source

[shgraph] Validating parameter name change now unfocus field

Clément Espeute 1 year ago
parent
commit
48e19a6d71
1 changed files with 1 additions and 0 deletions
  1. 1 0
      hide/view/shadereditor/ShaderEditor.hx

+ 1 - 0
hide/view/shadereditor/ShaderEditor.hx

@@ -805,6 +805,7 @@ class ShaderEditor extends hide.view.FileView implements GraphInterface.IGraphEd
 
 
 			exec(false);
 			exec(false);
 			undo.change(Custom(exec));
 			undo.change(Custom(exec));
+			inputTitle.blur();
 
 
 			// if (shaderGraph.setParameterTitle(parameter.id, newName)) {
 			// if (shaderGraph.setParameterTitle(parameter.id, newName)) {
 			// 	for (b in listOfBoxes) {
 			// 	for (b in listOfBoxes) {