From 5ee1f7acb91b9c70873eddfa1395fdf4d07f8ce1 Mon Sep 17 00:00:00 2001 From: euquiq <31453004+euquiq@users.noreply.github.com> Date: Mon, 27 Jul 2020 01:40:20 -0300 Subject: [PATCH] Update ui_spectrum.cpp I changed width in pixels of the "fine-tune cursor" from 2 to 5 , and then re-centered the cursor, from 120 to 118 to accomodate the shift in width. I was inspired by this old ISSUE on Havoc's repository, where at the end @furrtek commented the need to make the red tick bigger in the future (but forgot / was swamped with other ehnancements / issues): https://github.com/furrtek/portapack-havoc/issues/172 --- firmware/application/ui/ui_spectrum.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/application/ui/ui_spectrum.cpp b/firmware/application/ui/ui_spectrum.cpp index 99405037..2a458b96 100644 --- a/firmware/application/ui/ui_spectrum.cpp +++ b/firmware/application/ui/ui_spectrum.cpp @@ -120,8 +120,8 @@ void FrequencyScale::paint(Painter& painter) { if (_blink) { const Rect r_cursor { - 120 + cursor_position, r.bottom() - filter_band_height, - 2, filter_band_height + 118 + cursor_position, r.bottom() - filter_band_height, + 5, filter_band_height }; painter.fill_rectangle( r_cursor,