mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-09-22 17:30:52 +02:00
refactor: allow window drag during ui block
This commit is contained in:
+1
-1
@@ -805,7 +805,7 @@ export default function Home() {
|
|||||||
</main>
|
</main>
|
||||||
|
|
||||||
{isInitializing && (
|
{isInitializing && (
|
||||||
<div className="fixed inset-0 z-[100000] backdrop-blur-sm bg-background/30 flex items-center justify-center">
|
<div className="fixed inset-0 z-[1000] backdrop-blur-sm bg-background/30 flex items-center justify-center">
|
||||||
<div className="bg-background rounded-xl p-6 shadow-xl border border-border/10 w-[320px] text-center">
|
<div className="bg-background rounded-xl p-6 shadow-xl border border-border/10 w-[320px] text-center">
|
||||||
<div className="text-lg font-medium">Initializing</div>
|
<div className="text-lg font-medium">Initializing</div>
|
||||||
<div className="mt-1 mb-2 text-sm text-gray-600 dark:text-gray-300">
|
<div className="mt-1 mb-2 text-sm text-gray-600 dark:text-gray-300">
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ export function WindowDragArea() {
|
|||||||
return (
|
return (
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
className="fixed top-0 right-0 left-0 h-10 bg-transparent border-0 z-[9999] select-none"
|
className="fixed top-0 right-0 left-0 h-10 bg-transparent border-0 z-[999999] select-none"
|
||||||
data-window-drag-area="true"
|
data-window-drag-area="true"
|
||||||
onPointerDown={handlePointerDown}
|
onPointerDown={handlePointerDown}
|
||||||
onContextMenu={(e) => {
|
onContextMenu={(e) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user