diff --git a/src/buffer.rs b/src/buffer.rs index ef4fe4f..359fef7 100644 --- a/src/buffer.rs +++ b/src/buffer.rs @@ -39,7 +39,7 @@ impl Sub for Size { type Output = Self; fn sub(self, rhs: Self) -> Self { - Self::new(self.width + rhs.width, self.height + rhs.height) + Self::new(self.width - rhs.width, self.height - rhs.height) } }