From 804a49886a842495c6bb049c229d924230b85b26 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Mon, 26 Oct 2020 12:36:25 -0400 Subject: 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 --- apps/recorder/peakmeter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/recorder/peakmeter.c') 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 -- cgit v1.2.3