mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-10 10:55:33 +00:00
fix(web): Update image path when setting Options
This commit is contained in:
parent
018abd4319
commit
a5aef7aeae
1 changed files with 3 additions and 0 deletions
|
|
@ -243,6 +243,9 @@ export class BannerController {
|
|||
case 'imagePath':
|
||||
// Determines the image file to use for ImageBanners.
|
||||
this.imagePath = optionSpec[key];
|
||||
if(this.container.banner instanceof ImageBanner) {
|
||||
this.container.banner.setImagePath(optionSpec[key]);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
// Invalid option specified!
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue