mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 23:38:11 +00:00
GTextEditor: Make color of non-highlighted line numbers darker
Fixes #1123.
This commit is contained in:
parent
b88be25214
commit
9e2c595c64
1 changed files with 1 additions and 1 deletions
|
@ -363,7 +363,7 @@ void GTextEditor::paint_event(GPaintEvent& event)
|
||||||
String::number(i + 1),
|
String::number(i + 1),
|
||||||
is_current_line ? Font::default_bold_font() : font(),
|
is_current_line ? Font::default_bold_font() : font(),
|
||||||
TextAlignment::TopRight,
|
TextAlignment::TopRight,
|
||||||
is_current_line ? widget_background_color.darkened(0.6f) : widget_background_color.darkened(0.7f));
|
is_current_line ? widget_background_color.darkened(0.2f) : widget_background_color.darkened(0.4f));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue