Skip to content

Commit

Permalink
Minimap collapse icon
Browse files Browse the repository at this point in the history
  • Loading branch information
hojberg committed Mar 29, 2024
1 parent 60fc392 commit c6ac8cd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Code/Workspace/WorkspaceMinimap.elm
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,11 @@ viewCollapsed model =
|> WorkspaceItems.focusIndex
|> Maybe.withDefault 0
in
[ Button.icon model.toggleMinimapMsg Icon.unfoldedMap
[ Button.icon model.toggleMinimapMsg Icon.caretRight
|> Button.small
|> Button.view
, Icon.view
Icon.unfoldedMap
, viewItem
model.selectItemMsg
model.keyboardShortcut
Expand Down Expand Up @@ -92,7 +94,7 @@ viewHeader toggleMinimapMsg closeAllMsg =
[ class "workspace-minimap_header" ]
[ Click.view
[ class "workspace-minimap_header_title" ]
[ text "MAP" ]
[ Icon.view caretDown, Icon.view Icon.unfoldedMap ]
(Click.onClick toggleMinimapMsg)
, Click.view
[ class "workspace-minimap_close" ]
Expand Down

0 comments on commit c6ac8cd

Please sign in to comment.