1
0
Fork 0
mirror of https://github.com/mat-1/matdoesdev.git synced 2025-08-02 06:36:04 +00:00

only drag cat config window on left click

This commit is contained in:
mat 2024-09-29 07:01:34 +00:00
parent 60f9569ac2
commit fb50e73419

View file

@ -73,7 +73,7 @@
let mouseDown = false
function startDragWindow(e: MouseEvent) {
if (mouseDown || windowMaximized) return
if (mouseDown || windowMaximized || e.button !== 0) return
startMouseX = e.clientX
startMouseY = e.clientY
initialX += offsetX
@ -94,7 +94,7 @@
</script>
<svelte:head>
<title>cat config page</title>
<title>cat config</title>
<meta name="description" content="meow :3" />
<meta name="theme-color" content="#ffffff" />
</svelte:head>