drop-app-kt/components/MiniHeader.vue

17 lines
401 B
Vue
Raw Permalink Normal View History

2024-10-08 13:17:06 +11:00
<template>
<div
2024-10-08 16:13:28 +11:00
class="h-10 cursor-pointer flex flex-row items-center justify-between bg-zinc-950"
2024-10-08 13:17:06 +11:00
>
<div class="px-5 py-3 grow" @mousedown="() => window.startDragging()">
2024-10-08 16:13:28 +11:00
<Wordmark class="mt-1" />
2024-10-08 13:17:06 +11:00
</div>
<WindowControl />
</div>
</template>
<script setup lang="ts">
import { getCurrentWindow } from "@tauri-apps/api/window";
const window = getCurrentWindow();
</script>