Installations: a label takes a click only where nothing else is drawn

An interactive overlay entry is a card that takes every click from what is
drawn under it, so a base's label kept an aircraft or vessel under it from
being selected. The labels are no longer interactive entries. The layer
claims a click on a label box through the pick registry's click claim, as
CCTV counts do, only where nothing another layer draws is under it; over
the map or the layer's own dots and fills the label takes it, and another
layer's card painted over the label keeps its click. The label box is read
from the box the overlay painted for it (overlayHost.paintRect).
This commit is contained in:
Denis Groshev committed 2026-11-20 13:12:21 +01:00
1 parent 7b7eb2318a
commit dac8738b80
9 files changed
+229 -102

No files matched your search

+3 -2
View File
@@ -37,5 +37,6 @@
#1767).
- Let a click on a mapped installation's label box select the site, as a
click on its 7 px dot does: from orbit the label is what a click lands on.
As with every card on top, the label takes the click from an aircraft or
vessel drawn under it (Denis Groshev, @ZloyS, #1767).
The label takes a click only where nothing else is drawn under it, so an
aircraft or vessel under a base's label stays selectable (Denis Groshev,
@ZloyS, #1767).