Skip to content

Commit 73b8087

Browse files
committed
fix orientation of expand/collapse button
1 parent c5b302e commit 73b8087

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2785,10 +2785,10 @@ class GitGraphView {
27852785
let btnIcon = document.getElementById('cdvSummaryToggleBtn')?.getElementsByTagName('svg')?.[0] ?? null;
27862786
let cdvSummary = document.getElementById('cdvSummary');
27872787
if (hide && !this.isCdvDocked()) {
2788-
if (btnIcon) btnIcon.style.transform = 'rotate(-90deg)';
2788+
if (btnIcon) btnIcon.style.transform = 'rotate(90deg)';
27892789
cdvSummary!.classList.add('hidden');
27902790
} else {
2791-
if (btnIcon) btnIcon.style.transform = 'rotate(90deg)';
2791+
if (btnIcon) btnIcon.style.transform = 'rotate(-90deg)';
27922792
cdvSummary!.classList.remove('hidden');
27932793
}
27942794
let elem = document.getElementById('cdv');

0 commit comments

Comments
 (0)