mirror of
https://github.com/penpot/penpot.git
synced 2026-09-10 14:09:17 +00:00
🐛 Fix text selrect calculation
This commit is contained in:
parent
6fd0f5377c
commit
884954f4ff
@ -1529,6 +1529,7 @@ impl Shape {
|
|||||||
|| !self.transform.is_identity()
|
|| !self.transform.is_identity()
|
||||||
|| !math::is_close_to(self.rotation, 0.0)
|
|| !math::is_close_to(self.rotation, 0.0)
|
||||||
|| matches!(self.shape_type, Type::Group(_) | Type::Frame(_))
|
|| matches!(self.shape_type, Type::Group(_) | Type::Frame(_))
|
||||||
|
|| matches!(self.shape_type, Type::Text(_))
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn count_visible_inner_strokes(&self) -> usize {
|
pub fn count_visible_inner_strokes(&self) -> usize {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user