mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-03-11 20:56:02 +00:00
fix: dragging of relations
This commit is contained in:
parent
78e16e7210
commit
14a21b1051
3 changed files with 5 additions and 5 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "ui",
|
||||
"version": "6.4.129",
|
||||
"version": "6.4.130",
|
||||
"license": "BUSL-1.1",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@9.15.5",
|
||||
|
|
|
|||
|
|
@ -14,11 +14,11 @@
|
|||
--padding-left: unset !important;
|
||||
}
|
||||
|
||||
.draggable {
|
||||
.custom-draggable {
|
||||
-webkit-app-region: drag;
|
||||
}
|
||||
|
||||
.not-draggable {
|
||||
.custom-not-draggable {
|
||||
-webkit-app-region: no-drag;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -17,9 +17,9 @@
|
|||
{#if !SUPPORTS.isAndroid}
|
||||
<Wrapper let:platform>
|
||||
<div class='w-[calc(100%-3.5rem)] left-[3.5rem] top-0 z-[2000] flex navbar absolute h-8'>
|
||||
<div class='w-full {fullscreenElement ? 'not-draggable' : 'draggable'}' on:contextmenu|preventDefault />
|
||||
<div class='w-full {fullscreenElement ? 'custom-not-draggable' : 'custom-draggable'}' on:contextmenu|preventDefault />
|
||||
{#if platform !== 'macOS'}
|
||||
<div class='window-controls not-draggable flex text-white backdrop-blur'>
|
||||
<div class='window-controls custom-not-draggable flex text-white backdrop-blur'>
|
||||
<button class='max-button flex items-center justify-center h-8 w-[46px]' use:click={native.minimise} use:tabindex>
|
||||
<svg class='svg-controls w-3 h-3' role='img' viewBox='0 0 12 12'><rect fill='currentColor' height='1' width='10' x='1' y='6' />
|
||||
</button>
|
||||
|
|
|
|||
Loading…
Reference in a new issue