Layers: import switch_or in layer.rs and layerpanel.rs (#4299 made the imports explicit)

This commit is contained in:
bflatastic
2026-10-29 09:57:33 +07:00
parent 4519346cfb
commit 49509be9a8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ use vectorcraft_geom::{Affine, Rect};
use super::{
CommandSpec, Result, Session, bad, bool_or, check_numbers, check_switches, checked_id, checked_ids_param, cmd, color_value, f64_or, has_doc,
has_selection, id_param, ids_param, index, ok, str_param,
has_selection, id_param, ids_param, index, ok, str_param, switch_or,
};
use crate::EngineError;
+1 -1
View File
@@ -10,7 +10,7 @@ use serde_json::{Value, json};
use vectorcraft_doc::{Document, Node, NodeId, NodeKind};
use super::layer::{NewLayers, row_roots, rows_param};
use super::{CommandSpec, Result, Session, bad, bool_or, checked_id, cmd, has_doc, id_param, ok};
use super::{CommandSpec, Result, Session, bad, checked_id, cmd, has_doc, id_param, ok, switch_or};
use crate::EngineError;
pub fn specs() -> Vec<CommandSpec> {