Fix certain hovers being cut off
This commit is contained in:
parent
5b906e731d
commit
6419df82ee
2 changed files with 41 additions and 6 deletions
|
@ -497,6 +497,20 @@ where
|
|||
}
|
||||
}
|
||||
|
||||
impl<T> Add for Size<T>
|
||||
where
|
||||
T: Add<Output = T> + Clone + Default + Debug,
|
||||
{
|
||||
type Output = Size<T>;
|
||||
|
||||
fn add(self, rhs: Self) -> Self::Output {
|
||||
Size {
|
||||
width: self.width + rhs.width,
|
||||
height: self.height + rhs.height,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl<T, Rhs> Mul<Rhs> for Size<T>
|
||||
where
|
||||
T: Mul<Rhs, Output = Rhs> + Clone + Default + Debug,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue