mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:07:35 +00:00
LibGfx: Remove Gfx::FontDatabase::default_bold_font()
Instead use default_font().bold_variant() in cases where we want a bold variant of the default font. :^)
This commit is contained in:
parent
068ddf4513
commit
6a012ad79f
24 changed files with 33 additions and 46 deletions
|
@ -497,7 +497,7 @@ void HexEditor::paint_event(GUI::PaintEvent& event)
|
|||
painter.draw_text(
|
||||
side_offset_rect,
|
||||
line,
|
||||
is_current_line ? Gfx::FontDatabase::default_bold_font() : font(),
|
||||
is_current_line ? font().bold_variant() : font(),
|
||||
Gfx::TextAlignment::TopLeft,
|
||||
is_current_line ? palette().ruler_active_text() : palette().ruler_inactive_text());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue