Skip to content

Commit

Permalink
Adjust min sensor elevation to make slider input more precise
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuszhermansdorfer committed Mar 23, 2022
1 parent 1c1a9a6 commit fbbdbb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SandWorm/ComponentsUI/SandWormComponentUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public static void MainComponentUI(GH_ExtendableComponentAttributes attr)
"Automatically estimates the Elevation distance using the depth camera.");

MenuStaticText sensorElevationHeader = new MenuStaticText("Sensor elevation", "Distance between the sensor and the table. \nInput should be in millimeters.\nTo automatically estimate this value, check the 'Calibrate' checkbox and reset.");
_sensorElevation = new MenuSlider(sensorElevationHeader, 1, 0, 2000, 1000, 0);
_sensorElevation = new MenuSlider(sensorElevationHeader, 1, 500, 2000, 1000, 0);

MenuStaticText leftColumnsHeader = new MenuStaticText("Left columns", "Number of pixels to trim from the left.");
_leftColumns = new MenuSlider(leftColumnsHeader, 2, 0, 200, 50, 0);
Expand Down

0 comments on commit fbbdbb5

Please sign in to comment.