mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 19:04:58 +00:00
GTextEditor: Make color of non-highlighted line numbers darker
Fixes #1123.
This commit is contained in:
@@ -363,7 +363,7 @@ void GTextEditor::paint_event(GPaintEvent& event)
|
||||
String::number(i + 1),
|
||||
is_current_line ? Font::default_bold_font() : font(),
|
||||
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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user