mirror of
https://github.com/penpot/penpot.git
synced 2025-06-24 10:47:01 +02:00
🐛 Fix set path attrs (#6589)
This commit is contained in:
parent
eafea7aec9
commit
2650eccd09
1 changed files with 1 additions and 1 deletions
|
@ -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"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue