From 23c75d9f53954f706661b44fcc5426e5f927762d Mon Sep 17 00:00:00 2001 From: Vasiliy Doylov Date: Sun, 2 Mar 2025 15:02:15 +0300 Subject: [PATCH] Fix sensors Signed-off-by: Vasiliy Doylov --- src/gui/bubble.vala | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gui/bubble.vala b/src/gui/bubble.vala index d3dfb74..d7a204d 100644 --- a/src/gui/bubble.vala +++ b/src/gui/bubble.vala @@ -26,10 +26,11 @@ class TheCatTools.GUI.Bubble : DrawingAreaOrientable { var range = adjustment.upper - adjustment.lower; var position_y = radius + (height - 2 * radius) * (val_y - adjustment.lower) / range; var position_x = radius + (width - 2 * radius) * (val_x - adjustment.lower) / range; - message ("%f %f -> %f %f -> %f %f", + message ("%f %f -> %f %f -> %f %f\t%f", value_x, value_y, val_x, val_y, - position_x, position_y + position_x, position_y, + range ); Utils.set_color_rgba (cr, get_color ()); cr.arc (position_x, position_y, radius, 0, Math.PI * 2);