Skip to content

Commit 7e92601

Browse files
committed
Use full screen for focussed diff view
1 parent 7d7991b commit 7e92601

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/components/compare_commits.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ impl DrawableComponent for CompareCommitsComponent {
4444
) -> Result<()> {
4545
if self.is_visible() {
4646
let percentages = if self.diff.focused() {
47-
(30, 70)
47+
(0, 100)
4848
} else {
4949
(50, 50)
5050
};

src/components/file_revlog.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ impl DrawableComponent for FileRevlogComponent {
445445
) -> Result<()> {
446446
if self.visible {
447447
let percentages = if self.diff.focused() {
448-
(30, 70)
448+
(0, 100)
449449
} else {
450450
(50, 50)
451451
};

src/components/inspect_commit.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ impl DrawableComponent for InspectCommitComponent {
7171
) -> Result<()> {
7272
if self.is_visible() {
7373
let percentages = if self.diff.focused() {
74-
(30, 70)
74+
(0, 100)
7575
} else {
7676
(50, 50)
7777
};

0 commit comments

Comments
 (0)