From 93b28d1495b8ac3740f2612114179bbb1274acdd Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Wed, 22 Mar 2023 18:38:15 +0100 Subject: [PATCH] M17 decoder fix --- decoder_modules/m17_decoder/src/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/decoder_modules/m17_decoder/src/main.cpp b/decoder_modules/m17_decoder/src/main.cpp index 168da48b..471f714b 100644 --- a/decoder_modules/m17_decoder/src/main.cpp +++ b/decoder_modules/m17_decoder/src/main.cpp @@ -214,10 +214,10 @@ private: if (ImGui::Checkbox(CONCAT("Show Reference Lines##m17_showlines_", _this->name), &_this->showLines)) { if (_this->showLines) { - _this->diag.lines.push_back(-0.75f); - _this->diag.lines.push_back(-0.25f); - _this->diag.lines.push_back(0.25f); - _this->diag.lines.push_back(0.75f); + diag.lines.push_back(-1.0); + diag.lines.push_back(-1.0/3.0); + diag.lines.push_back(1.0/3.0); + diag.lines.push_back(1.0); } else { _this->diag.lines.clear();