Remove some files & trying to make the desktop look more fun & I'm going

to sleep now.
This commit is contained in:
yuanhau 2025-05-22 00:09:01 +08:00
parent c8429ee1a3
commit 109a39f6e9
12 changed files with 458 additions and 119 deletions

View file

@ -10,7 +10,7 @@ const props = defineProps<{
black?: boolean | false;
}>();
const emit = defineEmits(["close", "min", "maximize", "restore"]);
const emit = defineEmits(["close", "min", "restore"]);
const title = computed(() => props.title || "Draggable Window");
const isDragging = ref(false);
@ -86,12 +86,6 @@ const stopDrag = () => {
>
</button>
<button
@click="emit('maximize')"
class="p-1 hover:bg-gray-300 dark:hover:bg-gray-600 rounded transition duration-200"
>
</button>
<button
@click="emit('close')"
class="p-1 rounded bg-red-500 text-white hover:bg-red-600 transition duration-200"