mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-03-23 23:59:24 +08:00
- Add missing "title" field to tauri.windows.conf.json to display "CC Switch" instead of default "Tauri app" - Make DRAG_BAR_HEIGHT platform-aware: 0px on Windows/Linux (native titlebar), 28px on macOS (Overlay mode needs traffic light space) - Apply same fix to FullScreenPanel component for consistency Fixes the issue where Windows showed wrong title and had ~28px extra blank space below the native titlebar introduced in v3.9.0.
15 lines
249 B
JSON
15 lines
249 B
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"label": "main",
|
|
"title": "CC Switch",
|
|
"titleBarStyle": "Visible",
|
|
"minWidth": 900,
|
|
"minHeight": 600
|
|
}
|
|
]
|
|
}
|
|
}
|