mirror of
https://github.com/penpot/penpot.git
synced 2026-02-12 22:53:02 +00:00
🐛 Fix set path attrs (#6589)
This commit is contained in:
@@ -542,7 +542,7 @@ impl Shape {
|
||||
|
||||
pub fn set_path_attr(&mut self, name: String, value: String) {
|
||||
match self.shape_type {
|
||||
Type::Path(_) => {
|
||||
Type::Path(_) | Type::Bool(_) => {
|
||||
self.set_svg_attr(name, value);
|
||||
}
|
||||
_ => unreachable!("This shape should have path attrs"),
|
||||
|
||||
Reference in New Issue
Block a user