mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 21:14:23 +00:00
Remove some files & trying to make the desktop look more fun & I'm going
to sleep now.
This commit is contained in:
parent
c8429ee1a3
commit
109a39f6e9
12 changed files with 458 additions and 119 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue