Compare commits
2 Commits
1119d593a2
...
4e76a25a15
Author | SHA1 | Date | |
---|---|---|---|
4e76a25a15 | |||
5da7ee7944 |
@ -36,7 +36,7 @@ public fun <T : Any> Modifier.canvasControls(
|
|||||||
val point = state.space.ViewPoint(coordinates, zoom)
|
val point = state.space.ViewPoint(coordinates, zoom)
|
||||||
|
|
||||||
if (event.type == PointerEventType.Move) {
|
if (event.type == PointerEventType.Move) {
|
||||||
features.forEachWithAttribute(HoverListenerAttribute) { id, feature, listeners ->
|
features.forEachWithAttribute(HoverListenerAttribute) { _, feature, listeners ->
|
||||||
if (point in feature as DomainFeature) {
|
if (point in feature as DomainFeature) {
|
||||||
listeners.forEach { it.handle(event, point) }
|
listeners.forEach { it.handle(event, point) }
|
||||||
return@forEachWithAttribute
|
return@forEachWithAttribute
|
||||||
|
Loading…
Reference in New Issue
Block a user