mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-22 02:48:12 +08:00
Attribute-based vector format refactor (#1624)
* Initial vector format structure * Click targets * Code review pass * Remove subpaths from vector data * Morph node & vector node tests * Insignificant change --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
co-authored by
Keavon Chambers
parent
c8ea9e05a6
commit
218e9675fd
@@ -89,4 +89,14 @@ impl ManipulatorGroupId {
|
||||
self.0 += 1;
|
||||
Self(old)
|
||||
}
|
||||
|
||||
pub(crate) fn inner(self) -> u64 {
|
||||
self.0
|
||||
}
|
||||
}
|
||||
|
||||
impl From<crate::vector::PointId> for ManipulatorGroupId {
|
||||
fn from(value: crate::vector::PointId) -> Self {
|
||||
Self(value.inner())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user