Fix to enable "Save changes" popup

This commit is contained in:
AiSatan authored and GitHub committed 2026-03-09 14:10:30 +01:00
1 parent 1c99e9fabc
commit 913d2127d8
5 files changed
+51 -2

No files matched your search

+5
View File
@@ -147,6 +147,11 @@ impl PoBMode {
Ok(())
}
pub fn can_exit(&mut self, app_state: &mut AppState) -> bool {
let mut ctx = PoBContext::new(app_state, &mut self.state);
self.lua_instance.can_exit(&mut ctx)
}
fn reset_viewport(&mut self, size: LogicalSize<u32>) {
self.state
.layers