mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-10 10:11:46 +00:00
fix(renderer): update event handler from onVolumeTap to onVolumeClick (#2791)
This commit is contained in:
@ -143,9 +143,9 @@ async function onApiLoaded() {
|
||||
window.ipcRenderer.on('ytmd:toggle-mute', (_) => {
|
||||
document
|
||||
.querySelector<
|
||||
HTMLElement & { onVolumeTap: () => void }
|
||||
HTMLElement & { onVolumeClick: () => void }
|
||||
>('ytmusic-player-bar')
|
||||
?.onVolumeTap();
|
||||
?.onVolumeClick();
|
||||
});
|
||||
|
||||
window.ipcRenderer.on('ytmd:get-queue', () => {
|
||||
|
||||
Reference in New Issue
Block a user