stuff
This commit is contained in:
parent
bb767e59bd
commit
2403b5fa0e
|
@ -4486,6 +4486,9 @@
|
|||
iconSwatchPreview: "preview-Bbg_24",
|
||||
iconSwatchSelected: "selected-P5oePO"
|
||||
};
|
||||
DiscordClassModules.ShowImageDetails = {
|
||||
details: "details-1t6Zms"
|
||||
};
|
||||
DiscordClassModules.SpellCheck = {
|
||||
error: "error-k9z2IV",
|
||||
overlay: "spellCheckOverlay-cNSap5"
|
||||
|
@ -4753,6 +4756,7 @@
|
|||
_readallnotificationsbuttonbutton: ["ReadAllNotificationsButton", "button"],
|
||||
_readallnotificationsbuttonframe: ["ReadAllNotificationsButton", "frame"],
|
||||
_readallnotificationsbuttoninner: ["ReadAllNotificationsButton", "innerFrame"],
|
||||
_showimagedetailsdetails: ["ShowImageDetails", "details"],
|
||||
_spellcheckerror: ["SpellCheck", "error"],
|
||||
_spellcheckoverlay: ["SpellCheck", "overlay"],
|
||||
_serverfoldersdragpreview: ["ServerFolders", "dragPreview"],
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -3,7 +3,7 @@
|
|||
class ShowImageDetails {
|
||||
getName () {return "ShowImageDetails";}
|
||||
|
||||
getVersion () {return "1.1.7";}
|
||||
getVersion () {return "1.1.8";}
|
||||
|
||||
getAuthor () {return "DevilBro";}
|
||||
|
||||
|
@ -23,17 +23,15 @@ class ShowImageDetails {
|
|||
|
||||
initConstructor () {
|
||||
this.css = `
|
||||
.image-details .image-details-size {
|
||||
margin: 0 10px;
|
||||
}
|
||||
.image-details-tooltip {
|
||||
max-width: 500px;
|
||||
}
|
||||
.image-details-tooltip .image-details-tooltip-size {
|
||||
margin: 10px 0;
|
||||
}
|
||||
${BDFDB.dotCN._showimagedetailsdetails} {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
${BDFDB.dotCNS.spoilerhidden + BDFDB.dotCN._showimagedetailsdetails} {
|
||||
visibility: hidden;
|
||||
max-width: 1px;
|
||||
}
|
||||
`;
|
||||
|
||||
|
||||
this.defaults = {
|
||||
settings: {
|
||||
showOnHover: {value:false, description:"Show the details as Tooltip instead:"}
|
||||
|
@ -154,7 +152,7 @@ class ShowImageDetails {
|
|||
});
|
||||
else return [
|
||||
BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex, {
|
||||
className: "image-details",
|
||||
className: BDFDB.disCN._showimagedetailsdetails,
|
||||
children: [
|
||||
BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex.Child, {
|
||||
children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Anchor, {
|
||||
|
|
Loading…
Reference in New Issue