Fix regressions in focus and active support (#3622)

Release Notes:

- N/A
This commit is contained in:
Antonio Scandurra 2023-12-13 11:31:37 +01:00 committed by GitHub
commit 13c064186a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 26 additions and 12 deletions

View file

@ -66,9 +66,11 @@ impl Render for FocusStory {
let color_4 = theme.status().conflict;
let color_5 = theme.status().ignored;
let color_6 = theme.status().renamed;
let color_7 = theme.status().hint;
div()
.id("parent")
.active(|style| style.bg(color_7))
.track_focus(&self.parent_focus)
.key_context("parent")
.on_action(cx.listener(|_, _action: &ActionA, _cx| {