feat: add fade-out animation on dismiss for smooth visual exit

Without this, app.quit() destroys windows instantly, creating a jarring
pop-out. Now all windows fade out over 250ms (matching the fade-in)
before the app exits. Uses the same CSS opacity transition — just
removes the "visible" class and defers quit via glib timeout.
This commit is contained in:
2026-03-28 21:50:03 +01:00
parent 2e88a9b6c4
commit 4d8e306b74
3 changed files with 17 additions and 6 deletions
Generated
+1 -1
View File
@@ -805,7 +805,7 @@ dependencies = [
[[package]]
name = "moonset"
version = "0.4.0"
version = "0.4.1"
dependencies = [
"dirs",
"env_logger",