mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-03-26 16:47:45 +08:00
Tauri 2.0 platform config merging is shallow, not deep. The Windows config only specified titleBarStyle, causing minWidth/minHeight to be missing on Windows. This allowed users to resize the window below 900px, causing header elements to misalign.
14 lines
219 B
JSON
14 lines
219 B
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"label": "main",
|
|
"titleBarStyle": "Visible",
|
|
"minWidth": 900,
|
|
"minHeight": 600
|
|
}
|
|
]
|
|
}
|
|
}
|