Fix padding-top bug 🏗
This commit is contained in:
parent
895507146f
commit
3677e4a97d
@ -144,7 +144,7 @@ impl LayoutSpace {
|
||||
/// The offset from the origin to the start of content, that is,
|
||||
/// `(padding.left, padding.top)`.
|
||||
pub fn start(&self) -> Size2D {
|
||||
Size2D::new(self.padding.left, self.padding.right)
|
||||
Size2D::new(self.padding.left, self.padding.top)
|
||||
}
|
||||
|
||||
/// The actually usable area (dimensions minus padding).
|
||||
|
Loading…
x
Reference in New Issue
Block a user