Skip to content

Commit

Permalink
Restyled by fourmolu
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits committed May 28, 2024
1 parent d4c3e96 commit a41eca6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/swarm-tui/Swarm/TUI/Controller.hs
Original file line number Diff line number Diff line change
Expand Up @@ -351,9 +351,9 @@ handleMainEvent ev = do
then -- ignore repeated keypresses
continueWithoutRedraw
else -- hide for two seconds
do
uiState . uiGameplay . uiHideRobotsUntil .= t + TimeSpec 2 0
invalidateCacheEntry WorldCache
do
uiState . uiGameplay . uiHideRobotsUntil .= t + TimeSpec 2 0
invalidateCacheEntry WorldCache
-- debug focused robot
MetaChar 'd' | isPaused && hasDebug -> do
debug <- uiState . uiGameplay . uiShowDebug Lens.<%= not
Expand Down

0 comments on commit a41eca6

Please sign in to comment.