Minimum step time (default=42ms)
This commit is contained in:
@@ -38,9 +38,7 @@ public final class ScientaParametersPanel extends DevicePanel {
|
||||
if (editing) {
|
||||
try{
|
||||
int val_ms = (int) (((Double) value) * 1000);
|
||||
if ((val_ms % getDevice().getFrameTimeMs()) != 0){
|
||||
throw new IOException("Value must be multiple of " + getDevice().getFrameTimeMs() + "ms");
|
||||
}
|
||||
getDevice().checkTimeValue(val_ms);
|
||||
} catch (Exception ex) {
|
||||
showException(ex);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user