]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
move VFO coordinates so that digits are not cut
authorRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Fri, 11 Feb 2022 18:41:18 +0000 (00:11 +0530)
committerRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Fri, 11 Feb 2022 18:41:18 +0000 (00:11 +0530)
vfo.c

diff --git a/vfo.c b/vfo.c
index 1fc3d6b40edf3d07a7ae4b8e2b99a4ac32ad8bcc..559ac23cde1c96a399fd10340718e620df0c8912 100644 (file)
--- a/vfo.c
+++ b/vfo.c
@@ -1029,7 +1029,7 @@ void vfo_update() {
               cairo_set_source_rgb(cr, 0.0, 0.65, 0.0);
             }
         }
-        cairo_move_to(cr, 300, 95);
+        cairo_move_to(cr, 280, 95);
         cairo_set_font_size(cr, 70);
         // cairo_show_text(cr, temp_text);
 
@@ -1063,7 +1063,7 @@ void vfo_update() {
                 cairo_set_source_rgb(cr, 0.0, 1.0, 1.0);
             }
         }
-        cairo_move_to(cr, 300, 20);
+        cairo_move_to(cr, 280, 20);
         cairo_set_font_size(cr, 18);
         cairo_show_text(cr, temp_text);