Fix sensors
Signed-off-by: Vasiliy Doylov <nekodevelopper@gmail.com>
This commit is contained in:
parent
df3b169b3d
commit
e448142337
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ class TheCatTools.GUI.BoubleBar : Adw.Bin, Gtk.Orientable {
|
|||
public void bind_state_to_bubble_pos (Bubble bubble) {
|
||||
bubble.notify["value-x"].connect (() => {
|
||||
bool inb = true;
|
||||
message ("%lf %lf", bubble.value_x, bubble.value_y);
|
||||
if (double.max (bubble.value_x, bubble.value_y) >= clamps.upper) {
|
||||
set_state_flags (Gtk.StateFlags.CHECKED, false);
|
||||
inb = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue