stuff
This commit is contained in:
parent
7e4ce8eddb
commit
674f1797bf
|
@ -413,7 +413,6 @@
|
|||
"FormText": [".type", ".DEFAULT"],
|
||||
"FormTitle": [".tag", "variant:\"text"]
|
||||
}},
|
||||
"FriendsEmptyState": {"strings": ["FriendsEmptyState", "FriendsSections"], "value": "default"},
|
||||
"GuildComponents": {
|
||||
"children": {
|
||||
"Badge": {"name": "GuildBadge"},
|
||||
|
@ -428,9 +427,12 @@
|
|||
}
|
||||
},
|
||||
"Header": {"props": ["Sizes", "Tags"]},
|
||||
"Heading": {"name": "Heading"},
|
||||
"HeaderBarComponents": {"name": "HeaderBarContainer"},
|
||||
"Image": {"props": ["ImageReadyStates"]},
|
||||
"Heading": {"strings": ["data-excessive", ".defaultColor"]},
|
||||
"HeaderBarComponents": {"strings": ["isAuthenticated", ".HEADER_BAR"]},
|
||||
"ImageComponents": {"strings": ["containerRef", "zoomable", "LOADING"], "exported": false, "value": "exports", "map": {
|
||||
"Image": ["containerRef"],
|
||||
"ImageReadyStates": ["LOADING", "ERROR"]
|
||||
}},
|
||||
"ImageModal": {"name": "ImageModal"},
|
||||
"LazyImage": {"name": "LazyImage"},
|
||||
"ListHeader": {"name": "ListSectionItem"},
|
||||
|
|
|
@ -1208,8 +1208,8 @@ module.exports = (_ => {
|
|||
if (e.instance.props.resized) {
|
||||
let embed = BDFDB.DOMUtils.getParent(BDFDB.dotCN.embedfull, e.node);
|
||||
if (embed) embed.style.setProperty("max-width", "unset", "important");
|
||||
if (e.instance.state.readyState != BDFDB.LibraryComponents.Image.ImageReadyStates.READY) {
|
||||
e.instance.state.readyState = BDFDB.LibraryComponents.Image.ImageReadyStates.READY;
|
||||
if (e.instance.state.readyState != BDFDB.LibraryComponents.ImageComponents.ImageReadyStates.READY) {
|
||||
e.instance.state.readyState = BDFDB.LibraryComponents.ImageComponents.ImageReadyStates.READY;
|
||||
BDFDB.ReactUtils.forceUpdate(e.instance);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue