We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cde1c7f commit 0cf041bCopy full SHA for 0cf041b
src/tabs/revlog.rs
@@ -48,6 +48,14 @@ enum LogSearch {
48
Results(LogSearchResult),
49
}
50
51
+impl LogSearch {
52
+ fn set_background(&mut self) {
53
+ if let LogSearch::Searching(log, _) = self {
54
+ log.set_background();
55
+ }
56
57
+}
58
+
59
///
60
pub struct Revlog {
61
repo: RepoPathRef,
@@ -706,10 +714,7 @@ impl Component for Revlog {
706
714
fn hide(&mut self) {
707
715
self.visible = false;
708
716
self.git_log.set_background();
709
- //TODO:
710
- // self.git_log_find
711
- // .as_mut()
712
- // .map(asyncgit::AsyncLog::set_background);
717
+ self.search.set_background();
713
718
719
720
fn show(&mut self) -> Result<()> {
0 commit comments