Update ImageUtilities.plugin.js
This commit is contained in:
parent
2bea0844d3
commit
01a04abc5f
|
@ -1226,7 +1226,7 @@ module.exports = (_ => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.isValid(e.instance.props.src, "gif") && !BDFDB.LibraryStores.AccessibilityStore.useReducedMotion) e.node.style.setProperty("pointer-events", "none");
|
if (this.isValid(e.instance.props.src, "gif")) e.node.style.setProperty("pointer-events", "none");
|
||||||
if (this.settings.viewerSettings.zoomMode && typeof e.instance.props.children != "function" && !BDFDB.DOMUtils.containsClass(e.node.parentElement, BDFDB.disCN._imageutilitiessibling)) {
|
if (this.settings.viewerSettings.zoomMode && typeof e.instance.props.children != "function" && !BDFDB.DOMUtils.containsClass(e.node.parentElement, BDFDB.disCN._imageutilitiessibling)) {
|
||||||
e.node.style.setProperty("cursor", "zoom-in");
|
e.node.style.setProperty("cursor", "zoom-in");
|
||||||
e.node.addEventListener("mousedown", event => {
|
e.node.addEventListener("mousedown", event => {
|
||||||
|
|
Loading…
Reference in New Issue