update some icons and stuff

This commit is contained in:
2020-04-14 16:00:24 +02:00
parent 17edc20c90
commit ca096ff2e7
9 changed files with 32 additions and 22 deletions

View File

@@ -145,7 +145,7 @@ Viewer.prototype.renderSponsorsSimple = function() {
if (window.innerHeight < minWindowHeight) {
scaleHeight = window.innerHeight/minWindowHeight
}
let scale = scaleWidth < scaleHeight ? scaleWidth : scaleHeight
document.querySelector(".sponsors").style.height = (scale*bannerHeight)+"px"
}
@@ -186,7 +186,7 @@ Viewer.prototype.renderSponsorsSimple = function() {
// }
Viewer.prototype.keyboardEvent = function(evt) {
if (evt.ctrlKey || evt.altKey) {
if (evt.ctrlKey || evt.altKey || evt.metaKey) {
return // prevent custom shortcuts from interfering with system shortcuts
}