Questify & SMYN: Has Selector & Stuff. (#1094)
* Has Selector. * Fix SMYN.
This commit is contained in:
parent
f99b67932c
commit
e6c9f30861
3 changed files with 6 additions and 4 deletions
|
|
@ -351,6 +351,8 @@ function SettingsTooltip({
|
|||
position={position}
|
||||
color="brand"
|
||||
tooltipStyle={{ maxWidth: wider ? "602px" : "350px" }}
|
||||
tooltipClassName={q("settings-tooltip")}
|
||||
tooltipPointerClassName={q("settings-tooltip-pointer")}
|
||||
tooltipContentClassName={q("settings-tooltip-content")}
|
||||
delay={50}
|
||||
>
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@
|
|||
line-height: 0.2em;
|
||||
}
|
||||
|
||||
[class*="clickTrapContainer"] > div > div:has(.questify-settings-tooltip-content) {
|
||||
[class*="clickTrapContainer"] > div > .questify-settings-tooltip {
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
|
|
@ -585,4 +585,4 @@ div[id^="quest-tile-"] div[class^="confetti__"] {
|
|||
|
||||
.questify-quest-button-container {
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
|
|
@ -1132,8 +1132,8 @@ export default definePlugin({
|
|||
// Replace name in solo DM title bar and tooltip.
|
||||
find: "channel.isSystemDM(),",
|
||||
replacement: {
|
||||
match: /(?<=}\);)(return.{0,500}?{text:)(\i,position:"bottom",children:.{0,40}?children:)(\i\?\?\i.\i.getName\(\i\))/,
|
||||
replace: "const smynName=arguments[0].channel.recipients.length===1?$self.getTypingMemberListProfilesReactionsVoiceNameText({user:$self.UserStore.getUser(arguments[0].channel.recipients[0]),type:\"profilesPopout\"})??null:null;$1smynName??$2smynName??$3"
|
||||
match: /(?<=length>0,)(\i=)(.{0,280}?"aria-label":)(\i.\i.getName\(\i\).{0,400}?text:)/,
|
||||
replace: "smynName=arguments[0].channel.recipients.length===1?$self.getTypingMemberListProfilesReactionsVoiceNameText({user:$self.UserStore.getUser(arguments[0].channel.recipients[0]),type:\"profilesPopout\"})??null:null,$1smynName??$2smynName??$3smynName??"
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue