Prevent non-primary mouse buttons from resizing events

This commit is contained in:
Constantin Graf
2026-09-24 11:33:32 +02:00
committed by Constantin Graf
parent f683c03ff9
commit a86c18ad2d

View File

@@ -111,6 +111,8 @@ export function useEventResize(params: {
edge: 'start' | 'end',
dayStr: string
) {
if (e.button !== 0) return;
e.preventDefault();
e.stopPropagation();