Fix TooltipWrapper
This commit is contained in:
parent
45916aef50
commit
fe1f697b9a
|
@ -2593,7 +2593,7 @@ class V2 {
|
||||||
|
|
||||||
get MessageContentComponent() {return this.WebpackModules.find(m => m.defaultProps && m.defaultProps.hasOwnProperty("disableButtons"));}
|
get MessageContentComponent() {return this.WebpackModules.find(m => m.defaultProps && m.defaultProps.hasOwnProperty("disableButtons"));}
|
||||||
get TimeFormatter() {return this.WebpackModules.findByUniqueProperties(["dateFormat"]);}
|
get TimeFormatter() {return this.WebpackModules.findByUniqueProperties(["dateFormat"]);}
|
||||||
get TooltipWrapper() {return this.WebpackModules.findByDisplayName("TooltipDeprecated");}
|
get TooltipWrapper() {return this.WebpackModules.findByDisplayName("Tooltip");}
|
||||||
get NativeModule() {return this.WebpackModules.findByUniqueProperties(["setBadge"]);}
|
get NativeModule() {return this.WebpackModules.findByUniqueProperties(["setBadge"]);}
|
||||||
get Tooltips() {return this.WebpackModules.find(m => m.hide && m.show && !m.search && !m.submit && !m.search && !m.activateRagingDemon && !m.dismiss);}
|
get Tooltips() {return this.WebpackModules.find(m => m.hide && m.show && !m.search && !m.submit && !m.search && !m.activateRagingDemon && !m.dismiss);}
|
||||||
get KeyGenerator() {return this.WebpackModules.find(m => m.toString && /"binary"/.test(m.toString()));}
|
get KeyGenerator() {return this.WebpackModules.find(m => m.toString && /"binary"/.test(m.toString()));}
|
||||||
|
@ -2751,12 +2751,13 @@ class BDEmote extends BDV2.reactComponent {
|
||||||
text: this.label,
|
text: this.label,
|
||||||
delay: 750
|
delay: 750
|
||||||
},
|
},
|
||||||
BDV2.react.createElement("div", {
|
(childProps) => {
|
||||||
|
return BDV2.react.createElement("div", Object.assign({
|
||||||
className: "emotewrapper" + (this.props.jumboable ? " jumboable" : ""),
|
className: "emotewrapper" + (this.props.jumboable ? " jumboable" : ""),
|
||||||
onMouseEnter: this.onMouseEnter,
|
onMouseEnter: this.onMouseEnter,
|
||||||
onMouseLeave: this.onMouseLeave,
|
onMouseLeave: this.onMouseLeave,
|
||||||
onClick: this.onClick
|
onClick: this.onClick
|
||||||
},
|
}, childProps),
|
||||||
BDV2.react.createElement("img", {
|
BDV2.react.createElement("img", {
|
||||||
draggable: false,
|
draggable: false,
|
||||||
className: "emote" + this.modifierClass + (this.props.jumboable ? " jumboable" : "") + (!this.state.shouldAnimate ? " stop-animation" : ""),
|
className: "emote" + this.modifierClass + (this.props.jumboable ? " jumboable" : "") + (!this.state.shouldAnimate ? " stop-animation" : ""),
|
||||||
|
@ -2782,7 +2783,7 @@ class BDEmote extends BDV2.reactComponent {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
);
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue