Fix sensors
Signed-off-by: Vasiliy Doylov <nekodevelopper@gmail.com>
This commit is contained in:
parent
04ce8f0b61
commit
3567d8fb4d
2 changed files with 2 additions and 1 deletions
|
@ -18,6 +18,7 @@ class TheCatTools.GUI.BoubleBar : Adw.Bin, Gtk.Orientable {
|
|||
overlay.add_overlay (clamps_ok);
|
||||
set_child (overlay);
|
||||
bind_property ("orientation", clamps_ok, "orientation", GLib.BindingFlags.SYNC_CREATE);
|
||||
bind_property ("orientation", bubble, "orientation", GLib.BindingFlags.SYNC_CREATE);
|
||||
clamps_ok.bind_state_to_bubble_pos (bubble);
|
||||
}
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ public class TheCatTools.Window : Adw.ApplicationWindow {
|
|||
|
||||
message("%f\t%f\t%f", x, y, z);
|
||||
message("%f\t%f", x_angle, y_angle);
|
||||
hbar.bubble.value_y = (float) x_angle;
|
||||
hbar.bubble.value_x = (float) x_angle;
|
||||
vbar.bubble.value_x = (float) y_angle;
|
||||
});
|
||||
} catch (Error err) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue