We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19e2b1f commit f0fe4c4Copy full SHA for f0fe4c4
1 file changed
release/NativeEditPlugin/scripts/NativeEditBox.cs
@@ -205,12 +205,10 @@ private void PrepareNativeEdit()
205
}
206
207
private void onTextChange(string newText)
208
- {
209
- bool didTextChange = newText != this.objUnityInput.text;
210
-
+ {
211
// Avoid firing a delayed onValueChanged event if the text was changed from Unity with the text property in this
212
// class.
213
- if (!didTextChange)
+ if (newText == this.objUnityInput.text)
214
return;
215
216
this.objUnityInput.text = newText;
0 commit comments