1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 08:57:34 +00:00

Piano: Use a fixed-width font in the UI to align things nicely.

This commit is contained in:
Andreas Kling 2019-07-13 23:14:00 +02:00
parent 9197cfc62f
commit 559a999852

View file

@ -9,6 +9,8 @@ PianoWidget::PianoWidget()
memset(keys, 0, sizeof(keys)); memset(keys, 0, sizeof(keys));
m_front_buffer = new Sample[2048]; m_front_buffer = new Sample[2048];
m_back_buffer = new Sample[2048]; m_back_buffer = new Sample[2048];
set_font(Font::default_fixed_width_font());
} }
PianoWidget::~PianoWidget() PianoWidget::~PianoWidget()