mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-19 09:42:21 +00:00
fix(touch): keep radio and Street Level contacts under a card
Under another layer's card, radio and Street Level yielded whenever their own pick window found an item that was not the tap's touch contact. If the contact was a different station or Street Level item of theirs, the card yielded to that contact too, and the tap did nothing. Under a card they now act on their own touch contact, and still yield when the contact is not theirs. On bare map the window keeps its precedence.
This commit is contained in:
1 parent
54fd3d3bed
commit
99bd0443cd
5 files changed
+76
-5
No files matched your search
@@ -2064,7 +2064,9 @@ vessels act on that contact, and so do radio and Street Level, which also pick
|
||||
through their own windows (17 and 9 px). A station or Street Level item found
|
||||
only through that window, not as the exact hit or the touch contact, yields to
|
||||
another layer's card or label painted over it, so a quake card or label beside
|
||||
one acts alone, with a mouse or a coarse pointer. Fire and CCTV cards in turn
|
||||
one acts alone, with a mouse or a coarse pointer; under such a card, their own
|
||||
touch contact stays theirs even when the window names another item. Fire and
|
||||
CCTV cards in turn
|
||||
yield to a touch contact whose layer acts on it. The aircraft a layer already
|
||||
tracks and Street Level's position marker are passive picks, since a click on
|
||||
either does nothing. The pick registry records which owners act on a click's
|
||||
|
||||
Reference in new issue
Block a user