Implement SelectedNodes as trait

This commit is contained in:
Adam
2024-09-04 00:23:06 -07:00
parent d2d451dd6f
commit 73a30368c0
17 changed files with 262 additions and 116 deletions

View File

@@ -11,6 +11,7 @@ use graphene_core::{Color, MemoHash, Node, Type};
use dyn_any::DynAny;
pub use dyn_any::StaticType;
pub use glam::{DAffine2, DVec2, IVec2, UVec2};
use std::collections::VecDeque;
use std::fmt::Display;
use std::hash::Hash;
use std::marker::PhantomData;
@@ -180,6 +181,7 @@ tagged_value! {
FontCache(Arc<graphene_core::text::FontCache>),
Previewing(crate::document::Previewing),
PTZ(crate::document::PTZ),
SelectionHistory(VecDeque<Vec<NodeId>>),
}
impl TaggedValue {