fix typo that found by Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
sommermorgentraum 2025-04-12 11:56:34 +08:00 committed by GitHub
parent aecb8a1143
commit d792ed04e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -333,7 +333,7 @@ WaterfallView::WaterfallView(const bool cursor) {
waterfall_widget.on_touch_select = [this](int32_t x) {
if (sampling_rate) {
// screen x to frequency scale x, NB we need two widgets aligh
// screen x to frequency scale x, NB we need two widgets align
int32_t cursor_position = x - (screen_width / 2);
frequency_scale.set_cursor_position(cursor_position);
}