File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -773,6 +773,8 @@ internal bool SetPressedHighlight (HighlightStyle newHighlightStyle)
773
773
if ( Application . PopoverHost ? . Visible == true )
774
774
{
775
775
start = Application . PopoverHost ;
776
+
777
+ viewsUnderMouse . Add ( Application . Top ) ;
776
778
}
777
779
778
780
Point currentLocation = location ;
@@ -830,13 +832,14 @@ internal bool SetPressedHighlight (HighlightStyle newHighlightStyle)
830
832
831
833
if ( subview is null )
832
834
{
833
- if ( start . ViewportSettings . HasFlag ( ViewportSettings . TransparentMouse ) )
835
+ // In the case start is transparent, recursively add all it's subviews etc...
836
+ if ( start . ViewportSettings . HasFlag ( ViewportSettings . TransparentMouse ) && ! viewsUnderMouse . Contains ( start ) )
834
837
{
835
838
viewsUnderMouse . AddRange ( View . GetViewsUnderMouse ( location , true ) ) ;
836
839
837
840
// De-dupe viewsUnderMouse
838
- HashSet < View ? > dedupe = [ .. viewsUnderMouse ] ;
839
- viewsUnderMouse = [ .. dedupe ] ;
841
+ HashSet < View ? > hashSet = [ .. viewsUnderMouse ] ;
842
+ viewsUnderMouse = [ .. hashSet ] ;
840
843
}
841
844
842
845
// No subview was found that's under the mouse, so we're done
You can’t perform that action at this time.
0 commit comments