mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-25 07:17:41 +00:00
Merge pull request #16589 from keymanapp/refactor/web/showscope
refactor(web): clarify scope of `doShow`/`doHide`
This commit is contained in:
commit
de549383ff
1 changed files with 2 additions and 3 deletions
|
|
@ -1280,12 +1280,11 @@ export abstract class OSKView
|
|||
* @return {boolean}
|
||||
*
|
||||
*/
|
||||
doShow(p: {
|
||||
protected doShow(p: {
|
||||
x: number,
|
||||
y: number,
|
||||
userLocated: boolean
|
||||
}) {
|
||||
// Newer style 'doShow' emitted from .present by default.
|
||||
this.legacyEvents.callEvent('show', p);
|
||||
}
|
||||
|
||||
|
|
@ -1296,7 +1295,7 @@ export abstract class OSKView
|
|||
* @return {void}
|
||||
*
|
||||
*/
|
||||
doHide(hiddenByUser: boolean) {
|
||||
protected doHide(hiddenByUser: boolean) {
|
||||
const p={
|
||||
HiddenByUser: hiddenByUser
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue