added auto-scaling and scaling via key combination

This commit is contained in:
coolcoala
2025-07-26 06:50:18 +03:00
parent fbd1c55f44
commit 06ad23d904
4 changed files with 101 additions and 1 deletions

View File

@@ -24,6 +24,7 @@ import { showNotice } from "@/services/noticeService";
import { NoticeManager } from "@/components/base/NoticeManager";
import { SidebarProvider, useSidebar } from "@/components/ui/sidebar";
import { AppSidebar } from "@/components/layout/sidebar";
import {useZoomControls} from "@/hooks/useZoomControls";
const appWindow = getCurrentWebviewWindow();
export let portableFlag = false;
@@ -143,6 +144,7 @@ const handleNoticeMessage = (
const Layout = () => {
const mode = useThemeMode();
useZoomControls();
const isDark = mode === "light" ? false : true;
const { t } = useTranslation();
useCustomTheme();