Compress close and menu images, and only pre-load menu arrow when discoverability is requested. Resolves issue #734.
This commit is contained in:
parent
0b3454ce25
commit
3118eeb9d7
Binary file not shown.
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 1.4 KiB |
Binary file not shown.
Before Width: | Height: | Size: 725 B After Width: | Height: | Size: 552 B |
|
@ -440,9 +440,11 @@
|
||||||
// Preload images so they show up with the menu
|
// Preload images so they show up with the menu
|
||||||
//
|
//
|
||||||
getImages: function () {
|
getImages: function () {
|
||||||
|
if (SETTINGS.discoverable) {
|
||||||
var menu = new Image();
|
var menu = new Image();
|
||||||
menu.src = CONFIG.button.src;
|
menu.src = CONFIG.button.src;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user