From 3f3d177a9a2daa1cb5d8dd45af54fe6ce25656cf Mon Sep 17 00:00:00 2001 From: Ramakrishnan Muthukrishnan Date: Sat, 12 Feb 2022 11:48:05 +0530 Subject: [PATCH] tweaking of coordinates for vfo a/b click --- vfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vfo.c b/vfo.c index dc8505d..eda0a46 100644 --- a/vfo.c +++ b/vfo.c @@ -1304,11 +1304,11 @@ vfo_press_event_cb (GtkWidget *widget, { // vfo a and b are drawn at x = 280, so it is the y coordinate // that matters. - if (event->x > 260 && event->y < 80) { + if (event->x >= 260 && event->y <= 50) { // vfo B start_vfo(VFO_B); return TRUE; - } else if (event->x > 260 && event->y > 80) { + } else if (event->x >= 260 && event->y > 50) { // vfo A start_vfo(VFO_A); return TRUE; -- 2.45.2