Make space in toggler integral

This commit is contained in:
Héctor Ramón Jiménez 2025-05-28 22:56:56 +02:00
parent f0156359db
commit 6230f4c0bd
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -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,