2 Commits

Author SHA1 Message Date
3cd1c8becb chore: update readme screenshots 2026-04-26 15:20:19 +02:00
4702d9387e fix: remove selction on resizing or moving the window
Some checks failed
Release / create-release (push) Has been cancelled
Release / build-linux (push) Has been cancelled
Release / build-windows (push) Has been cancelled
Release / build-macos (push) Has been cancelled
2026-04-26 15:10:15 +02:00
5 changed files with 2 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 146 KiB

After

Width:  |  Height:  |  Size: 363 KiB

View File

@ -31,7 +31,7 @@ export default function ResizeHandles() {
{handles.map(({ edge, style }) => ( {handles.map(({ edge, style }) => (
<div <div
key={edge} key={edge}
onMouseDown={e => { if (e.button === 0) win.startResizeDragging(edge); }} onMouseDown={e => { if (e.button === 0) { e.preventDefault(); win.startResizeDragging(edge); } }}
style={{ position: "fixed", zIndex: 9999, ...style }} style={{ position: "fixed", zIndex: 9999, ...style }}
/> />
))} ))}

View File

@ -23,6 +23,7 @@ export default function TitleBar({ onOpenSettings }: Props) {
function handleDragMouseDown(e: React.MouseEvent) { function handleDragMouseDown(e: React.MouseEvent) {
if (e.button === 0) { if (e.button === 0) {
e.preventDefault();
getCurrentWindow().startDragging(); getCurrentWindow().startDragging();
} }
} }