Skip to content

Commit

Permalink
fix wrong property setting
Browse files Browse the repository at this point in the history
  • Loading branch information
oligo committed Dec 11, 2024
1 parent 0602753 commit 6da43e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/editor_style.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func NewEditor(editor *Editor, conf *EditorConf, hint string) EditorStyle {
es.lineBar.padding = unit.Dp(32)
}

if conf.LineHighlightColor == (color.NRGBA{}) {
if conf.LineNumberColor == (color.NRGBA{}) {
es.lineBar.color = misc.WithAlpha(conf.TextColor, 0xb6)
}

Expand Down

0 comments on commit 6da43e8

Please sign in to comment.