Stop editing the text edited
()
| 1094 | |
| 1095 | /** Stop editing the text edited */ |
| 1096 | stopEditing() |
| 1097 | { |
| 1098 | if (!this.isKeyInputObject()) |
| 1099 | return; |
| 1100 | |
| 1101 | if (this.soundRelease) |
| 1102 | this.soundRelease.play(); |
| 1103 | uiSystem.activeObject = undefined; |
| 1104 | uiSystem.keyInputObject = undefined; |
| 1105 | this.onChange(); |
| 1106 | } |
| 1107 | |
| 1108 | /** Key down event handler if this object is being edited |
| 1109 | * @param {KeyboardEvent} [e] */ |
no test coverage detected