Compare commits
3 Commits
6687b1f12f
...
7ecb248407
Author | SHA1 | Date |
---|---|---|
|
7ecb248407 | |
|
fdd71f582b | |
|
83b567cfd4 |
File diff suppressed because it is too large
Load Diff
|
@ -1 +1 @@
|
||||||
Subproject commit ecbd103917315e3aa24fd2a682208f5548ec5d1b
|
Subproject commit fe9c5c47815c28a4618dad57337a58f0b216af0f
|
|
@ -301,11 +301,11 @@ impl<T: Number> Widget for NumberEdit<'_, T> {
|
||||||
|
|
||||||
let mut delta = None;
|
let mut delta = None;
|
||||||
if self.arrows {
|
if self.arrows {
|
||||||
let arrow_left = res.rect.max.x + 4.0;
|
let arrow_left = res.rect.max.x - 16.0;
|
||||||
let arrow_right = res.rect.max.x + 20.0;
|
let arrow_right = res.rect.max.x;
|
||||||
let arrow_top = res.rect.min.y - 2.0;
|
let arrow_top = res.rect.min.y;
|
||||||
let arrow_middle = (res.rect.min.y + res.rect.max.y) / 2.0;
|
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 {
|
let top_arrow_rect = Rect {
|
||||||
min: (arrow_left, arrow_top).into(),
|
min: (arrow_left, arrow_top).into(),
|
||||||
|
|
Loading…
Reference in New Issue