forked from Berry-Dash/launcher
Allow resizing window
This commit is contained in:
@@ -34,7 +34,7 @@ export default function Sidebar () {
|
||||
return (
|
||||
<aside className='sidebar'>
|
||||
<div
|
||||
className='dragarea'
|
||||
data-tauri-drag-region
|
||||
style={{
|
||||
height: '30px',
|
||||
width: 'calc(var(--spacing) * 60)',
|
||||
@@ -46,9 +46,6 @@ export default function Sidebar () {
|
||||
display: platform() == 'macos' ? 'block' : 'none',
|
||||
pointerEvents: 'auto'
|
||||
}}
|
||||
onMouseDown={() => {
|
||||
getCurrentWindow().startDragging()
|
||||
}}
|
||||
></div>
|
||||
<div className='logo'>
|
||||
<Image
|
||||
|
||||
Reference in New Issue
Block a user