stuff
This commit is contained in:
parent
b448843eef
commit
001d3e68c7
|
@ -1094,6 +1094,7 @@
|
|||
MemberCard: "guildsettingsmembercard",
|
||||
Messages: "messages",
|
||||
MessagesPopout: "messagespopout",
|
||||
ModalLayer: "layermodal",
|
||||
MutualGuilds: "userprofilebody",
|
||||
MutualFriends: "userprofilebody",
|
||||
NameTag: "nametag",
|
||||
|
@ -8384,7 +8385,7 @@
|
|||
let ele = BDFDB.ReactUtils.findDOMNode(instance);
|
||||
if (ele && ele.parentElement) {
|
||||
let maxwidth = BDFDB.DOMUtils.getInnerWidth(ele.parentElement);
|
||||
if (maxwidth > 50) ele.style.setProperty("max-width", `${maxwidth}px`);
|
||||
if (maxwidth > 150) ele.style.setProperty("max-width", `${maxwidth}px`);
|
||||
let Animation = new LibraryModules.AnimationUtils.Value(0);
|
||||
Animation
|
||||
.interpolate({inputRange:[0, 1], outputRange:[0, (BDFDB.DOMUtils.getRects(ele.firstElementChild).width - BDFDB.DOMUtils.getRects(ele).width) * -1]})
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue