This commit is contained in:
Mirco Wittrien 2020-08-14 21:59:05 +02:00
parent 6bd8ff1503
commit 04dd1484e5
3 changed files with 6 additions and 4 deletions

View File

@ -4344,8 +4344,8 @@
translating: "translating-Yi-YxC"
};
DiscordClassModules.ImageUtilities = {
operations: "operations-3V47CY",
details: "details-9dkFPc",
detailsAdded: "detailsAdded-fHiJlm",
detailsLabel: "label-mrlccN",
detailsWrapper: "detailsWrapper-TE1mu5",
gallery: "gallery-JViwKR",
@ -4353,6 +4353,7 @@
lense: "zoomLense-uOK8xV",
lenseBackdrop: "lenseBackdrop-yEm7Om",
next: "next-SHEZrz",
operations: "operations-3V47CY",
previous: "previous-xsNq6B",
sibling: "sibling-6vI7Pu",
switchIcon: "switchIcon-QY6cR4"
@ -4729,6 +4730,7 @@
_emojistatisticsnamecell: ["EmojiStatistics", "nameCell"],
_friendnotificationsfriendsonline: ["FriendNotifications", "friendsOnline"],
_imageutilitiesdetails: ["ImageUtilities", "details"],
_imageutilitiesdetailsadded: ["ImageUtilities", "detailsAdded"],
_imageutilitiesdetailslabel: ["ImageUtilities", "detailsLabel"],
_imageutilitiesdetailswrapper: ["ImageUtilities", "detailsWrapper"],
_imageutilitiesgallery: ["ImageUtilities", "gallery"],

File diff suppressed because one or more lines are too long

View File

@ -121,7 +121,7 @@ var ImageUtilities = (_ => {
visibility: hidden;
max-width: 1px;
}
${BDFDB.dotCN.imagemodal}:not([style*="opacity: 0;"]) {
${BDFDB.dotCN._imageutilitiesdetailsadded}:not([style*="opacity: 0;"]) {
transform: unset !important;
}
${BDFDB.dotCN._imageutilitiessibling} {
@ -561,7 +561,7 @@ var ImageUtilities = (_ => {
if (e.node) {
let modal = BDFDB.DOMUtils.getParent(BDFDB.dotCNC.modal + BDFDB.dotCN.layermodal, e.node);
if (modal) {
modal.className = BDFDB.DOMUtils.formatClassName(modal.className, messages.length && BDFDB.disCN._imageutilitiesgallery);
modal.className = BDFDB.DOMUtils.formatClassName(modal.className, messages.length && BDFDB.disCN._imageutilitiesgallery, settings.addDetails && BDFDB.disCN._imageutilitiesdetailsadded);
this.cleanUpListeners();
if (messages.length) {
document.keydownImageUtilitiesListener = event => {