summaryrefslogtreecommitdiff
path: root/grapher/Models/AccelGUI.cs
diff options
context:
space:
mode:
authorJacobPalecki <[email protected]>2021-01-21 20:46:50 -0800
committerGitHub <[email protected]>2021-01-21 20:46:50 -0800
commitaaac0e43f690191488cc4d1d40971e56350aee55 (patch)
treecbfa5d075e32ea004460ec223c1d5f3d089b3dbc /grapher/Models/AccelGUI.cs
parentMerge pull request #65 from JacobPalecki/Directional (diff)
parentchange toggle text, "enabled" -> "disable" (diff)
downloadrawaccel-1.4.0.tar.xz
rawaccel-1.4.0.zip
Merge pull request #66 from a1xd/1.4-tweaksv1.4.0
add angle snapping, update signed/
Diffstat (limited to 'grapher/Models/AccelGUI.cs')
-rw-r--r--grapher/Models/AccelGUI.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/grapher/Models/AccelGUI.cs b/grapher/Models/AccelGUI.cs
index 5cd7012..3a30a9b 100644
--- a/grapher/Models/AccelGUI.cs
+++ b/grapher/Models/AccelGUI.cs
@@ -71,7 +71,6 @@ namespace grapher
}
SetupButtons();
- AccelForm.DoResize();
// TODO: The below removes an overlapping form from the anisotropy panel.
// Figure out why and remove the overlap and below.
@@ -144,6 +143,7 @@ namespace grapher
var settings = new DriverSettings
{
rotation = ApplyOptions.Rotation.Field.Data,
+ snap = driverSettings.snap,
sensitivity = new Vec2<double>
{
x = ApplyOptions.Sensitivity.Fields.X,
@@ -229,7 +229,7 @@ namespace grapher
ToggleButton.Checked = LastToggleChecked;
ToggleButton.Font = DefaultButtonFont;
- ToggleButton.Text = ToggleButton.Checked ? "Enabled" : "Disabled";
+ ToggleButton.Text = ToggleButton.Checked ? "Disable" : "Enable";
ToggleButton.Update();
WriteButton.Font = DefaultButtonFont;