show annotations in fullscreen mode

This commit is contained in:
j 2019-02-12 13:00:06 +05:30
parent eeee4f5a28
commit 85e315be40
3 changed files with 13 additions and 3 deletions

View file

@ -39,3 +39,13 @@
.OxAnnotationFolder div.OxInput {
background-image: none;
}
.OxThemeOxlight .OxAnnotationFolder {
background-color: rgb(240, 240, 240);
}
.OxThemeOxmedium .OxAnnotationFolder {
background-color: rgb(144, 144, 144);
}
.OxThemeOxdark .OxAnnotationFolder {
background-color: rgb(16, 16, 16);
}

View file

@ -16,7 +16,7 @@ oml.ui.fullscreenButton = function() {
})
.bindEvent({
click: function() {
Ox.Fullscreen.enter(oml.$ui.viewer.find('iframe')[0]);
Ox.Fullscreen.enter(oml.$ui.viewer[0]);
},
oml_itemview: function() {
that.updateElement();
@ -31,4 +31,4 @@ oml.ui.fullscreenButton = function() {
return that.updateElement();
};
};

View file

@ -566,7 +566,7 @@ oml.ui.mainMenu = function() {
? 'openPreview' : 'closePreview'
]();
} else if (id == 'fullscreen') {
Ox.Fullscreen.enter(oml.$ui.viewer.find('iframe')[0]);
Ox.Fullscreen.enter(oml.$ui.viewer[0]);
} else if (id == 'debugmode') {
if (oml.localStorage('enableDebugMode')) {
oml.localStorage['delete']('enableDebugMode');