mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
🎉 Set DOM text editor element caret
This commit is contained in:
@@ -1110,8 +1110,7 @@ impl Shape {
|
||||
if let Some(path) = shape_type.path_mut() {
|
||||
path.transform(transform);
|
||||
}
|
||||
}
|
||||
if let Type::Text(text) = &mut self.shape_type {
|
||||
} else if let Type::Text(text) = &mut self.shape_type {
|
||||
text.transform(transform);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user