Skip to content

Commit

Permalink
Restyled by fourmolu (#1859)
Browse files Browse the repository at this point in the history
Co-authored-by: Restyled.io <commits@restyled.io>
  • Loading branch information
restyled-io[bot] and restyled-commits authored May 21, 2024
1 parent eab417d commit e987fad
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 @@ -348,9 +348,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 e987fad

Please sign in to comment.