Fix: Drag-Region for Reader Bar (#74)

This commit is contained in:
Youwes09
2026-05-14 08:07:14 -05:00
parent 2867dc9612
commit 17d739a1cd
2 changed files with 9 additions and 6 deletions
@@ -118,6 +118,7 @@
class:bar-left={barPosition === "left"}
class:bar-right={barPosition === "right"}
class:hidden={!uiVisible}
data-tauri-drag-region={barPosition === "top" ? true : undefined}
>
<div class="bar-start">
<button class="icon-btn" onclick={closeReader} title="Close reader"><X size={15} weight="light" /></button>
@@ -366,6 +367,7 @@
z-index: 2;
transition: opacity 0.25s ease;
overflow: visible;
user-select: none;
}
.bar.hidden { opacity: 0; pointer-events: none; }