implement edit mode toggle

This commit is contained in:
galister
2025-11-12 20:32:40 +09:00
parent 52fb06eecc
commit 278420b2ce
6 changed files with 66 additions and 7 deletions

View File

@@ -20,11 +20,12 @@ use crate::{
type EditModeWrapPanel = GuiPanel<Arc<str>>;
#[derive(Default)]
pub struct EditModeManager {
pub struct EditWrapperManager {
edit_mode: bool,
panel_pool: Vec<EditModeWrapPanel>,
}
impl EditModeManager {
impl EditWrapperManager {
pub fn wrap_edit_mode(
&mut self,
owc: &mut OverlayWindowConfig,