forked from len0rd/rockbox
Patch #4999 by Matthias Mohr - Peakmeter scaling dots does not respect x-offset in peak_meter_draw
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9450 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
376611e9b0
commit
defbc69b2b
1 changed files with 2 additions and 1 deletions
|
@ -957,7 +957,8 @@ void peak_meter_draw(struct screen *display, struct meter_scales *scales,
|
||||||
for (i = 0; i < db_scale_count; i++) {
|
for (i = 0; i < db_scale_count; i++) {
|
||||||
/* The x-coordinates of interesting scale mark points
|
/* The x-coordinates of interesting scale mark points
|
||||||
have been calculated before */
|
have been calculated before */
|
||||||
display->drawpixel(scales->db_scale_lcd_coord[i], y + height / 2 - 1);
|
display->drawpixel(x + scales->db_scale_lcd_coord[i],
|
||||||
|
y + height / 2 - 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_RECORDING
|
#ifdef HAVE_RECORDING
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue