mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-29 12:17:14 -06:00
Object: import the isolation predicates in menucmds.rs and object/commands.rs (#4299 made the imports explicit)
This commit is contained in:
@@ -16,7 +16,7 @@ use vectorcraft_render::encode::{RasterExportOptions, RasterFormat};
|
||||
use super::edit::{duplicate_in, selected_roots};
|
||||
use super::{
|
||||
CommandSpec, EngineError, Result, Session, bad, check_numbers, check_switches, cmd, f64_or, fileio, find_command, has_doc, has_selection,
|
||||
switch_or,
|
||||
has_selection_outside_isolation, switch_or,
|
||||
};
|
||||
|
||||
/// Session-level (not saved) state owned by the menu commands.
|
||||
|
||||
@@ -6,6 +6,7 @@ use super::props::set_props;
|
||||
use super::shape::{expand_shape, set_live_shape};
|
||||
use super::transform::{move_cmd, nudge, reflect, rotate, scale, shear, transform, transform_again};
|
||||
use super::{CommandSpec, cmd, has_doc, has_multi, has_selection, has_selection_or_guides};
|
||||
use crate::cmd::{has_selection_outside_isolation, outside_isolation};
|
||||
|
||||
pub fn specs() -> Vec<CommandSpec> {
|
||||
vec![
|
||||
|
||||
Reference in New Issue
Block a user