From ac8583839adfa7caeb501eb9f549947f9f06e6b9 Mon Sep 17 00:00:00 2001 From: jahorton Date: Mon, 20 Jun 2022 08:38:12 +0700 Subject: [PATCH] docs(web): better comment for changes --- web/source/kmwbase.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/web/source/kmwbase.ts b/web/source/kmwbase.ts index 26c79a3259..781f74afbb 100644 --- a/web/source/kmwbase.ts +++ b/web/source/kmwbase.ts @@ -714,7 +714,12 @@ namespace com.keyman { PKbd = PKbd || this.core.activeKeyboard; - // help.keyman.com will set this function in place, so we'll give it priority. + // help.keyman.com will (lkudingly) set this function in place to specify the desired + // dimensions for the documentation-keyboards, so we'll give it priority. One of those + // "temporary" (but actually permanent) solutions from yesteryear. + // + // Note that the main intended use of that function is for embedded KMW on the mobile apps... + // but they never call `BuildVisualKeyboard`, so it's all good. const getOskHeight = this['getOskHeight']; let targetHeight = (typeof getOskHeight == 'function') ? getOskHeight() : this.osk.computedHeight || 200;