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:
parent
60f9569ac2
commit
fb50e73419
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue