Commit f43c998
fix(gui): disable window transparency for consistent Windows behavior (#428)
On Windows, when decorations are disabled for custom titlebar support,
setting transparent=true can cause issues with window hit-testing
in production builds, making custom window control buttons (minimize,
maximize, close) unresponsive or invisible.
This change:
- Sets transparent=false for all window types to match tauri.conf.json
- Removes unused vibrancy/glassmorphism code from window creation
- Ensures consistent window behavior between dev and production builds
- Fixes titlebar buttons not working on Windows in production builds
Co-authored-by: Droid Agent <droid@factory.ai>1 parent 28ef4c8 commit f43c998
1 file changed
Lines changed: 6 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
| 255 | + | |
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
315 | | - | |
| 315 | + | |
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | 320 | | |
324 | 321 | | |
325 | 322 | | |
| |||
371 | 368 | | |
372 | 369 | | |
373 | 370 | | |
374 | | - | |
375 | | - | |
| 371 | + | |
| 372 | + | |
376 | 373 | | |
377 | 374 | | |
378 | 375 | | |
379 | 376 | | |
380 | | - | |
381 | | - | |
| 377 | + | |
| 378 | + | |
382 | 379 | | |
383 | 380 | | |
384 | 381 | | |
| |||
0 commit comments