After rendering input and display settings, refresh webfonts
Because those windows are rendered later. The settings window inherits fonts. But button in those panels doesn't inherit. Make sure all panel elements have current font applied. Change-Id: Ibb8b12b3d973023c49ef89a04d534081bf8ee87f
This commit is contained in:
committed by
Nikerabbit
parent
1b8d0eb169
commit
acbc10c494
@@ -117,6 +117,7 @@
|
|||||||
this.prepareUIFonts();
|
this.prepareUIFonts();
|
||||||
this.prepareContentFonts();
|
this.prepareContentFonts();
|
||||||
this.i18n();
|
this.i18n();
|
||||||
|
this.$webfonts.refresh();
|
||||||
this.listen();
|
this.listen();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -104,6 +104,7 @@
|
|||||||
this.prepareLanguages();
|
this.prepareLanguages();
|
||||||
this.prepareToggleButton();
|
this.prepareToggleButton();
|
||||||
this.$template.i18n();
|
this.$template.i18n();
|
||||||
|
$( 'body' ).data( 'webfonts' ).refresh();
|
||||||
this.listen();
|
this.listen();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user