mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-01-12 07:49:32 -05:00
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
This commit is contained in:
parent
f21e26eaa3
commit
5ee1f7acb9
@ -120,8 +120,8 @@ void FrequencyScale::paint(Painter& painter) {
|
|||||||
|
|
||||||
if (_blink) {
|
if (_blink) {
|
||||||
const Rect r_cursor {
|
const Rect r_cursor {
|
||||||
120 + cursor_position, r.bottom() - filter_band_height,
|
118 + cursor_position, r.bottom() - filter_band_height,
|
||||||
2, filter_band_height
|
5, filter_band_height
|
||||||
};
|
};
|
||||||
painter.fill_rectangle(
|
painter.fill_rectangle(
|
||||||
r_cursor,
|
r_cursor,
|
||||||
|
Loading…
Reference in New Issue
Block a user