@subiz/widget-v4 4.0.58 → 4.0.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compiled_src/popup/popup.js +31 -1
- package/compiled_src/util/common.js +4 -2
- package/dist/{17d938a5acb.178.js → 17d939953e0.178.js} +0 -0
- package/dist/{17d938a5acb.213.js → 17d939953e0.213.js} +0 -0
- package/dist/{17d938a5acb.362.js → 17d939953e0.362.js} +0 -0
- package/dist/{17d938a5acb.441.js → 17d939953e0.441.js} +0 -0
- package/dist/{17d938a5acb.605.js → 17d939953e0.605.js} +0 -0
- package/dist/{17d938a5acb.619.js → 17d939953e0.619.js} +0 -0
- package/dist/{17d938a5acb.678.js → 17d939953e0.678.js} +0 -0
- package/dist/{17d938a5acb.74.js → 17d939953e0.74.js} +0 -0
- package/dist/{17d938a5acb.782.js → 17d939953e0.782.js} +0 -0
- package/dist/{17d938a5acb.app.js → 17d939953e0.app.js} +1 -1
- package/dist/{17d938a5acb.index.html → 17d939953e0.index.html} +1 -1
- package/dist/{17d938a5acb.library.html → 17d939953e0.library.html} +1 -1
- package/dist/{17d938a5acb.library.js → 17d939953e0.library.js} +1 -1
- package/dist/{17d938a5acb.preview.html → 17d939953e0.preview.html} +1 -1
- package/dist/{17d938a5acb.preview.js → 17d939953e0.preview.js} +1 -1
- package/dist/{17d938a5acb.screenshoot.js → 17d939953e0.screenshoot.js} +1 -1
- package/dist/HASH +1 -1
- package/dist/screenshoot.html +1 -1
- package/dist/screenshoot.js +0 -1
- package/package.json +1 -1
- package/src/popup/popup.js +25 -0
- package/src/util/common.js +4 -2
package/src/util/common.js
CHANGED
|
@@ -905,7 +905,7 @@ export function getDayName(dayOfWeek) {
|
|
|
905
905
|
}
|
|
906
906
|
|
|
907
907
|
let loadedFonts = {}
|
|
908
|
-
export function preloadWebfonts(fonts) {
|
|
908
|
+
export function preloadWebfonts(fonts, done) {
|
|
909
909
|
for (var i = 0; i < fonts.length; i++) {
|
|
910
910
|
let font = fonts[i]
|
|
911
911
|
if (!font) continue
|
|
@@ -920,7 +920,9 @@ export function preloadWebfonts(fonts) {
|
|
|
920
920
|
// Visible - so we can measure it - but not on the screen
|
|
921
921
|
node.style.position = 'absolute'
|
|
922
922
|
node.style.display = 'block'
|
|
923
|
-
node.style.
|
|
923
|
+
node.style.opacity = '0.1'
|
|
924
|
+
node.style.color = 'transparent'
|
|
925
|
+
node.style.fontSize = '20px'
|
|
924
926
|
node.style.height = '0px'
|
|
925
927
|
node.style.width = '0px'
|
|
926
928
|
|