mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 04:25:13 +00:00
Piano: Use a fixed-width font in the UI to align things nicely.
This commit is contained in:
parent
9197cfc62f
commit
559a999852
Notes:
sideshowbarker
2024-07-19 13:17:11 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/559a999852f
1 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,8 @@ PianoWidget::PianoWidget()
|
|||
memset(keys, 0, sizeof(keys));
|
||||
m_front_buffer = new Sample[2048];
|
||||
m_back_buffer = new Sample[2048];
|
||||
|
||||
set_font(Font::default_fixed_width_font());
|
||||
}
|
||||
|
||||
PianoWidget::~PianoWidget()
|
||||
|
|
Loading…
Add table
Reference in a new issue