mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-10 18:06:22 +00:00
refactor(mediaPlaybackSpeed): spread all tooltip props
Co-authored-by: vee <vendicated@riseup.net>
This commit is contained in:
parent
065575718d
commit
aec59be3f5
1 changed files with 2 additions and 3 deletions
|
@ -34,11 +34,10 @@ export default definePlugin({
|
|||
|
||||
return (
|
||||
<Tooltip text="Playback speed">
|
||||
{({ onMouseEnter, onMouseLeave }) => (
|
||||
{tooltipProps => (
|
||||
<button
|
||||
{...tooltipProps}
|
||||
className={cl("icon")}
|
||||
onMouseEnter={onMouseEnter}
|
||||
onMouseLeave={onMouseLeave}
|
||||
onClick={e => {
|
||||
ContextMenuApi.openContextMenu(e, () =>
|
||||
<Menu.Menu
|
||||
|
|
Loading…
Reference in a new issue