forked from mia/Aegisub
Merge branch 'fixes' into feature
This commit is contained in:
commit
64ecc490be
1 changed files with 4 additions and 0 deletions
|
@ -284,6 +284,10 @@ namespace Automation4 {
|
|||
max = DBL_MAX;
|
||||
min = -DBL_MAX;
|
||||
}
|
||||
if (step != 0.0) {
|
||||
min = min == -DBL_MAX ? 0.0 : min;
|
||||
max = max == DBL_MAX ? 100.0 : max;
|
||||
}
|
||||
}
|
||||
|
||||
bool CanSerialiseValue() const override { return true; }
|
||||
|
|
Loading…
Reference in a new issue