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