a-b-street / a-b-street/abstreet
Improve LTN Turn Restriction editing UX design
- Ngôn ngữ chính
- Rust
- Star
- 8.2k
- Fork
- 380
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Based on feedback here: https://github.com/a-b-street/abstreet/pull/1091#pullrequestreview-1604775328
> The UX of only being able to select a destination road on
one end is confusing to me. When you hover on a road in the neutral
state, roads on both endpoints are highlighted, but when you click, the
closer one wins.
## Option 1
> My first preference might be to get rid of the endpoint distinction
and just let the destination road exist on either end. I remember
discussing this and don't remember the rationale... was it due to
ambiguity with complex TRs and sequences of multiple roads where some
road might be shared?
This would require finding a solution for https://github.com/a-b-street/abstreet/issues/1108
## Option 2
> As a second option, what if we change the hover behavior to make it
clear which side of the road the cursor is closer to, so the click
becomes expected?
This would require calculating the hitboxes for each half-road segment. This would be a faff, but it is possible.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.