mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-07 09:25:33 +00:00
fix(ios): banner image management
This commit is contained in:
parent
f0c8ae9edd
commit
33ffad05ee
1 changed files with 8 additions and 0 deletions
|
|
@ -81,6 +81,14 @@ function showBanner(flag) {
|
|||
|
||||
function setBannerImage(path) {
|
||||
bannerImgPath = path;
|
||||
|
||||
var bc = keyman && keyman.osk && keyman.osk.bannerController;
|
||||
if(!bc) {
|
||||
return;
|
||||
}
|
||||
|
||||
// If an inactive banner is set, update its image.
|
||||
bc.inactiveBanner = bc.inactiveBanner ? new bc.ImageBanner(bannerImgPath) : null;
|
||||
}
|
||||
|
||||
function setBannerHeight(h) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue