make window draggable by sidebar

This commit is contained in:
b1ek 2023-08-27 13:37:32 +10:00
parent 947f4bdc7f
commit f8e33773d3
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@
}) })
</script> </script>
<div class={style.sidebar} bind:this={self}> <div data-tauri-drag-region class={style.sidebar} bind:this={self}>
<button aria-label="back" class={style.button + ' ' + style.back} on:click={(_) => { back() }}> <button aria-label="back" class={style.button + ' ' + style.back} on:click={(_) => { back() }}>
<Icon src={VscArrowLeft} color='#b2b2b2' size='17px' /> <Icon src={VscArrowLeft} color='#b2b2b2' size='17px' />