From c3731e037e321480bde6c043f751cc07f46a5788 Mon Sep 17 00:00:00 2001 From: Ramakrishnan Muthukrishnan Date: Sat, 12 Feb 2022 18:01:39 +0530 Subject: [PATCH] VFO a and b mouse event coordinates tweaking --- vfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vfo.c b/vfo.c index 0655353..b6fb3c6 100644 --- a/vfo.c +++ b/vfo.c @@ -1315,11 +1315,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 <= 50) { + if (event->x >= 260 && event->y <= 40) { // vfo B start_vfo(VFO_B); return TRUE; - } else if (event->x >= 260 && event->y > 50) { + } else if (event->x >= 260 && event->y > 40) { // vfo A start_vfo(VFO_A); return TRUE; -- 2.45.2