Skip to content

Commit

Permalink
Fixed focus issue
Browse files Browse the repository at this point in the history
  • Loading branch information
davesmith00000 committed Dec 30, 2024
1 parent c00947f commit ad1663c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ final case class WindowManagerModel[ReferenceData](windows: Batch[Window[?, Refe

def focusAt(coords: Coords): WindowManagerModel[ReferenceData] =
val reordered =
windows.reverse.find(_.bounds.contains(coords)) match
windows.reverse.find(w => w.isOpen && w.bounds.contains(coords)) match
case None =>
windows.map(_.blur)

Expand Down

0 comments on commit ad1663c

Please sign in to comment.