feat(stage-tamagotchi): window TitleBar not selectable

This commit is contained in:
Neko Ayaka
2025-06-13 17:01:33 +08:00
parent 28e3127133
commit 9f48317262
@@ -8,17 +8,17 @@ defineProps<{
<template>
<div
bg="neutral-100 dark:neutral-900" w="100dvw"
data-tauri-drag-region
fixed top="0" z-100 w-full py-2 pl-20 pr-4
top="0"
data-tauri-drag-region fixed z-100 w-full select-none py-2 pl-20 pr-4
>
<div data-tauri-drag-region flex>
<div
bg="hover:neutral-200 hover:dark:neutral-800"
transition="all duration-200 ease-in-out"
flex cursor-pointer items-center gap-2 rounded-md px-1.5 py-0.5
flex cursor-pointer select-none items-center gap-2 rounded-md px-1.5 py-0.5
>
<div :class="icon" text="neutral-400 dark:neutral-500" whitespace-nowrap />
<div><span whitespace-nowrap text-sm>{{ title }}</span></div>
<div :class="icon" select-none text="neutral-400 dark:neutral-500" whitespace-nowrap />
<div><span select-none whitespace-nowrap text-sm>{{ title }}</span></div>
</div>
<div data-tauri-drag-region w-full />
<div