Skip to content

Commit

Permalink
fix: properly collapse icon in tree views
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinzent03 committed Jul 31, 2023
1 parent 1bf2223 commit 919d7f8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/ui/history/components/logComponent.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
>
<div
class="tree-item-icon nav-folder-collapse-indicator collapse-icon"
class:is-collapsed={isCollapsed}
>
<svg
xmlns="http://www.w3.org/2000/svg"
Expand Down
1 change: 1 addition & 0 deletions src/ui/history/components/logTreeComponent.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
/>
<div
class="tree-item-icon nav-folder-collapse-indicator collapse-icon"
class:is-collapsed={closed[entity.title]}
>
<svg
xmlns="http://www.w3.org/2000/svg"
Expand Down
1 change: 1 addition & 0 deletions src/ui/sourceControl/components/treeComponent.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
/>
<div
class="tree-item-icon nav-folder-collapse-indicator collapse-icon"
class:is-collapsed={closed[entity.title]}
>
<svg
xmlns="http://www.w3.org/2000/svg"
Expand Down
2 changes: 2 additions & 0 deletions src/ui/sourceControl/sourceControl.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@
>
<div
class="tree-item-icon nav-folder-collapse-indicator collapse-icon"
class:is-collapsed={!stagedOpen}
>
<svg
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -398,6 +399,7 @@
>
<div
class="tree-item-icon nav-folder-collapse-indicator collapse-icon"
class:is-collapsed={!changesOpen}
>
<svg
xmlns="http://www.w3.org/2000/svg"
Expand Down

0 comments on commit 919d7f8

Please sign in to comment.