Skip to content

Commit

Permalink
Show focused border styles only when it's folded
Browse files Browse the repository at this point in the history
  • Loading branch information
danilo-leal committed Dec 28, 2024
1 parent 7d29b09 commit 6c19ee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/editor/src/element.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2603,7 +2603,7 @@ impl EditorElement {
.shadow_md()
.border_1()
.map(|div| {
let border_color = if is_selected {
let border_color = if is_selected && is_folded {
colors.border_focused
} else {
colors.border
Expand Down

0 comments on commit 6c19ee6

Please sign in to comment.