Make space in toggler integral
This commit is contained in:
parent
f0156359db
commit
6230f4c0bd
1 changed files with 1 additions and 1 deletions
|
|
@ -424,7 +424,7 @@ where
|
|||
.style(&self.class, self.last_status.unwrap_or(Status::Disabled));
|
||||
|
||||
let border_radius = bounds.height / BORDER_RADIUS_RATIO;
|
||||
let space = SPACE_RATIO * bounds.height;
|
||||
let space = (SPACE_RATIO * bounds.height).round();
|
||||
|
||||
let toggler_background_bounds = Rectangle {
|
||||
x: bounds.x + space,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue