add axis to flip so spans w negative sign work correctly
This commit is contained in:
1 parent
dc9340b26c
commit
b2950566af
2 files changed
+14
-10
No files matched your search
+1
-1
@@ -33,7 +33,7 @@ impl Widget for Span {
|
||||
}
|
||||
axis.bot_right.set(start);
|
||||
if self.dir.sign == Sign::Neg {
|
||||
child_region.flip();
|
||||
child_region.flip(self.dir.axis);
|
||||
}
|
||||
painter.widget_within(child, child_region);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user