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 { .OxAnnotationFolder div.OxInput {
background-image: none; 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({ .bindEvent({
click: function() { click: function() {
Ox.Fullscreen.enter(oml.$ui.viewer.find('iframe')[0]); Ox.Fullscreen.enter(oml.$ui.viewer[0]);
}, },
oml_itemview: function() { oml_itemview: function() {
that.updateElement(); that.updateElement();
@ -31,4 +31,4 @@ oml.ui.fullscreenButton = function() {
return that.updateElement(); return that.updateElement();
}; };

View File

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