Add option to invert idle behavior (fixes #2379)

Both through separate property and by allowing negative speed factor
This commit is contained in:
Emma Broman
2023-02-27 16:06:15 +01:00
parent b8c27f1fee
commit 3ffb29b9be
2 changed files with 22 additions and 6 deletions

View File

@@ -70,11 +70,12 @@ public:
properties::BoolProperty shouldTriggerWhenIdle;
properties::FloatProperty idleWaitTime;
properties::BoolProperty abortOnCameraInteraction;
properties::FloatProperty speedScale;
properties::BoolProperty invert;
properties::FloatProperty speedScaleFactor;
properties::FloatProperty dampenInterpolationTime;
properties::OptionProperty defaultBehavior;
std::optional<Behavior> chosenBehavior = std::nullopt;
std::optional<Behavior> chosenBehavior;
};
OrbitalNavigator();