Added Shortcut to toggle Interpolation ('O' key)

This commit is contained in:
CrushedPixel
2015-08-05 13:03:16 +02:00
parent e03610bcef
commit d4259c103f
4 changed files with 13 additions and 0 deletions

View File

@@ -57,6 +57,11 @@ public class ReplaySettings {
rewriteSettings();
}
public void toggleInterpolation() {
ReplayOptions.linear.setValue(!((Boolean)ReplayOptions.linear.getValue()));
rewriteSettings();
}
public boolean showRecordingIndicator() {
return (Boolean) RecordingOptions.indicator.getValue();
}