Skip to content

Commit 0d20806

Browse files
committed
Use full screen for focussed diff view
1 parent 6566465 commit 0d20806

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
@@ -446,7 +446,7 @@ impl DrawableComponent for FileRevlogComponent {
446446
) -> Result<()> {
447447
if self.visible {
448448
let percentages = if self.diff.focused() {
449-
(30, 70)
449+
(0, 100)
450450
} else {
451451
(50, 50)
452452
};

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)