Compare commits

...

3 Commits

3 changed files with 174 additions and 174 deletions

338
Cargo.lock generated

File diff suppressed because it is too large Load Diff

@ -1 +1 @@
Subproject commit ecbd103917315e3aa24fd2a682208f5548ec5d1b
Subproject commit fe9c5c47815c28a4618dad57337a58f0b216af0f

View File

@ -301,11 +301,11 @@ impl<T: Number> Widget for NumberEdit<'_, T> {
let mut delta = None;
if self.arrows {
let arrow_left = res.rect.max.x + 4.0;
let arrow_right = res.rect.max.x + 20.0;
let arrow_top = res.rect.min.y - 2.0;
let arrow_left = res.rect.max.x - 16.0;
let arrow_right = res.rect.max.x;
let arrow_top = res.rect.min.y;
let arrow_middle = (res.rect.min.y + res.rect.max.y) / 2.0;
let arrow_bottom = res.rect.max.y + 2.0;
let arrow_bottom = res.rect.max.y;
let top_arrow_rect = Rect {
min: (arrow_left, arrow_top).into(),