Compare commits
No commits in common. "7ecb24840708759635f1ed09971f7e309b2b7715" and "6687b1f12ff21c0d6bf47b490e4917a339952ae6" have entirely different histories.
7ecb248407
...
6687b1f12f
File diff suppressed because it is too large
Load Diff
|
@ -1 +1 @@
|
|||
Subproject commit fe9c5c47815c28a4618dad57337a58f0b216af0f
|
||||
Subproject commit ecbd103917315e3aa24fd2a682208f5548ec5d1b
|
|
@ -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 - 16.0;
|
||||
let arrow_right = res.rect.max.x;
|
||||
let arrow_top = res.rect.min.y;
|
||||
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_middle = (res.rect.min.y + res.rect.max.y) / 2.0;
|
||||
let arrow_bottom = res.rect.max.y;
|
||||
let arrow_bottom = res.rect.max.y + 2.0;
|
||||
|
||||
let top_arrow_rect = Rect {
|
||||
min: (arrow_left, arrow_top).into(),
|
||||
|
|
Loading…
Reference in New Issue