mirror of
https://github.com/penpot/penpot.git
synced 2025-05-18 05:06:10 +02:00
🐛 Fix transform matrix being carried to non-children shapes
This commit is contained in:
parent
03acfc2b3c
commit
49b4eabe8b
3 changed files with 42 additions and 24 deletions
|
@ -1,5 +1,7 @@
|
|||
use uuid::Uuid;
|
||||
|
||||
use crate::state::State;
|
||||
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub enum Kind {
|
||||
None,
|
||||
|
@ -53,7 +55,7 @@ impl Matrix {
|
|||
#[derive(Debug, Clone)]
|
||||
pub struct Shape {
|
||||
pub id: Uuid,
|
||||
pub shapes: Vec::<Uuid>,
|
||||
pub shapes: Vec<Uuid>,
|
||||
pub kind: Kind,
|
||||
pub selrect: Rect,
|
||||
pub transform: Matrix,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue