Skip to content

Commit acbf677

Browse files
committed
Update control 3DWidget
1 parent 07844a9 commit acbf677

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

MAVGCL/src/main/java/com/comino/flight/ui/tabs/MAV3DViewTab.java

+3
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ public void changed(ObservableValue<? extends Number> ov,
119119
double z = zoom.getValue() * ((( event.getZoomFactor() - 1 ) / 2) + 1.0);
120120
zoom.setValue(z);
121121
});
122+
123+
widget.disableProperty().bind(this.disabledProperty());
124+
122125

123126
}
124127

0 commit comments

Comments
 (0)