new feature: pause playback when GUI window is closed

This commit is contained in:
2025-12-16 20:54:30 +03:00
parent ae5da6d9bd
commit 87b791ee3a
3 changed files with 14 additions and 1 deletions
+2
View File
@@ -36,6 +36,7 @@ pub struct GuiConfig {
pub save_volume: bool,
pub save_input: bool,
pub save_scale_factor: bool,
pub pause_on_exit: bool,
pub dirs: HashSet<PathBuf>,
}
@@ -48,6 +49,7 @@ impl Default for GuiConfig {
save_volume: false,
save_input: false,
save_scale_factor: false,
pause_on_exit: false,
dirs: HashSet::default(),
}