diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-10-26 12:36:25 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-10-26 19:52:40 +0000 |
commit | 804a49886a842495c6bb049c229d924230b85b26 (patch) | |
tree | 3a6d61c3e8ea1f7414a452ed51d5b267cc06790b /apps/recorder/peakmeter.c | |
parent | 299c2370756baeac5ca458859ae7c64ca462f8c8 (diff) |
statusbar: Make statusbar height equal SYSFONT_HEIGHT
And size elements horizaontally based on SYSFONT_WIDTH
Unfortunately we need 16px icons to make 16px statusbar look right
but at least it _works_ properly now.
Also: all targets currently use 8-px SYSFONT, except some hosted bootloaders
Change-Id: I0cdf97e6ef47ec49693ef79667b200595b4fe075
Diffstat (limited to 'apps/recorder/peakmeter.c')
-rw-r--r-- | apps/recorder/peakmeter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/recorder/peakmeter.c b/apps/recorder/peakmeter.c index c9c0254f2a..e8e5db551a 100644 --- a/apps/recorder/peakmeter.c +++ b/apps/recorder/peakmeter.c @@ -1311,7 +1311,7 @@ void peak_meter_draw_trig(int xpos[], int ypos[], HORIZONTAL); screens[i].mono_bitmap(bitmap_icons_7x8[icon], ixpos[i], ypos[i], - ICON_PLAY_STATE_WIDTH, STATUSBAR_HEIGHT); + ICON_PLAY_STATE_WIDTH, SB_ICON_HEIGHT); } } #endif |