Skip to content

Commit

Permalink
Fix #684
Browse files Browse the repository at this point in the history
  • Loading branch information
IKupriyanov-HORIS committed Feb 7, 2023
1 parent 4b702ab commit c6c0a04
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ class HoverObjectDetectionSystem(
.map { it.get<LocatorComponent>().locatorHelper.search(mouseLocation, it) }
.filterNotNull()
.sortedByDescending(SearchResult::layerIndex)
.sortedByDescending(SearchResult::index)
.firstOrNull()
}
}
Expand Down

0 comments on commit c6c0a04

Please sign in to comment.