forked from 0x2620/pandora
fix #2292 (Loading screen images shouldn't be user-selectable)
This commit is contained in:
parent
f9302a954c
commit
abd11dc33f
1 changed files with 8 additions and 0 deletions
|
@ -97,6 +97,10 @@ appPanel
|
|||
images.logo.style.width = logoWidth + 'px';
|
||||
images.logo.style.height = logoHeight + 'px';
|
||||
images.logo.style.margin = 'auto';
|
||||
images.logo.style.MozUserSelect = 'none';
|
||||
images.logo.style.MSUserSelect = 'none';
|
||||
images.logo.style.OUserSelect = 'none';
|
||||
images.logo.style.WebkitUserSelect = 'none';
|
||||
if (!isMSIE) {
|
||||
images.reflection = document.createElement('img');
|
||||
images.reflection.style.position = 'absolute';
|
||||
|
@ -124,6 +128,10 @@ appPanel
|
|||
images.loadingIcon.style.width = isEmbed || isPrint ? '16px' : '32px';
|
||||
images.loadingIcon.style.height = isEmbed || isPrint ? '16px' : '32px';
|
||||
images.loadingIcon.style.margin = 'auto';
|
||||
images.loadingIcon.style.MozUserSelect = 'none';
|
||||
images.loadingIcon.style.MSUserSelect = 'none';
|
||||
images.loadingIcon.style.OUserSelect = 'none';
|
||||
images.loadingIcon.style.WebkitUserSelect = 'none';
|
||||
images.loadingIcon.src = '/static/oxjs/' + (enableDebugMode ? 'dev' : 'build')
|
||||
+ '/Ox.UI/themes/' + theme + '/svg/symbolLoading.svg';
|
||||
callback(images);
|
||||
|
|
Loading…
Reference in a new issue