mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
Snake: Use the system default fixed-width font
Instead of looking one up by name.
This commit is contained in:
parent
0f5d1f4074
commit
05ff75c321
Notes:
sideshowbarker
2024-07-19 01:42:47 +09:00
Author: https://github.com/awesomekling
Commit: 05ff75c321
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@
|
|||
|
||||
SnakeGame::SnakeGame()
|
||||
{
|
||||
set_font(GUI::FontDatabase::the().get_by_name("Liza Regular"));
|
||||
set_font(Gfx::Font::default_bold_fixed_width_font());
|
||||
m_fruit_bitmaps.append(*Gfx::Bitmap::load_from_file("/res/icons/snake/paprika.png"));
|
||||
m_fruit_bitmaps.append(*Gfx::Bitmap::load_from_file("/res/icons/snake/eggplant.png"));
|
||||
m_fruit_bitmaps.append(*Gfx::Bitmap::load_from_file("/res/icons/snake/cauliflower.png"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue