mirror of
https://github.com/jamiepine/voicebox.git
synced 2026-09-19 23:00:45 -07:00
8 lines
226 B
TypeScript
8 lines
226 B
TypeScript
const isWindows = navigator.userAgent.includes('Windows');
|
|
|
|
export function TitleBarDragRegion() {
|
|
if (isWindows) return null;
|
|
|
|
return <div data-tauri-drag-region className="fixed top-0 left-0 right-0 h-12 z-[9999]" />;
|
|
}
|