Update SpotifyControls.plugin.js

This commit is contained in:
Mirco Wittrien 2020-08-31 16:42:55 +02:00
parent 4d18858220
commit 9916bd30eb
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ var SpotifyControls = (_ => {
children: _this.defaults.buttonConfigs[this.props.type] && _this.defaults.buttonConfigs[this.props.type].icons ? (_this.defaults.buttonConfigs[this.props.type].icons[this.props.icon] || _this.defaults.buttonConfigs[this.props.type].icons[0]) : "?",
onClick: this.props.disabled ? _ => {} : this.props.onClick,
onContextMenu: this.props.disabled ? _ => {} : this.props.onContextMenu,
}), "active", "disabled", "renderPopout", "icon", "type"));
}), "active", "disabled", "renderPopout", "icon", "type", "playerSize"));
return !this.props.disabled && typeof this.props.renderPopout == "function" ? BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.PopoutContainer, {
children: button,
animation: BDFDB.LibraryComponents.PopoutContainer.Animation.SCALE,