Skip to content

Commit bc660a0

Browse files
committed
Update KeyboardListener for alignment
1 parent 5f780b7 commit bc660a0

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

lib/js/src/manager/screen/choiceset/KeyboardListener.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,9 @@ class KeyboardListener {
179179
* Implement this to be notified of all events occurring on the keyboard
180180
* @param {KeyboardEvent} event - The event that occurred
181181
*/
182-
onKeyboardInputMaskHasChanged (event) {
183-
if (typeof this._onKeyboardInputMaskHasChanged === 'function') {
184-
this._onKeyboardInputMaskHasChanged(event);
182+
onKeyboardDidUpdateInputMask (event) {
183+
if (typeof this._onKeyboardDidUpdateInputMask === 'function') {
184+
this._onKeyboardDidUpdateInputMask(event);
185185
}
186186
}
187187
}

lib/js/src/manager/screen/choiceset/_PresentChoiceSetOperation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ class _PresentChoiceSetOperation extends _Task {
307307
// notify of abort / cancelation
308308
this._keyboardListener.onKeyboardDidAbortWithReason(onKeyboardInput.getEvent());
309309
} else if (onKeyboardInput.getEvent() === KeyboardEvent.INPUT_KEY_MASK_ENABLED || onKeyboardInput.getEvent() === KeyboardEvent.INPUT_KEY_MASK_DISABLED) {
310-
this._keyboardListener.onKeyboardInputMaskHasChanged(onKeyboardInput.getEvent());
310+
this._keyboardListener.onKeyboardDidUpdateInputMask(onKeyboardInput.getEvent());
311311
}
312312
};
313313

lib/js/src/manager/screen/choiceset/_PresentKeyboardOperation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ class _PresentKeyboardOperation extends _Task {
250250
// notify of abort / cancelation
251251
this._keyboardListener.onKeyboardDidAbortWithReason(onKeyboardInput.getEvent());
252252
} else if (onKeyboardInput.getEvent() === KeyboardEvent.INPUT_KEY_MASK_ENABLED || onKeyboardInput.getEvent() === KeyboardEvent.INPUT_KEY_MASK_DISABLED) {
253-
this._keyboardListener.onKeyboardInputMaskHasChanged(onKeyboardInput.getEvent());
253+
this._keyboardListener.onKeyboardDidUpdateInputMask(onKeyboardInput.getEvent());
254254
}
255255
};
256256

0 commit comments

Comments
 (0)