mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 21:43:13 +02:00
fix binding loops disallowing to increment/decrement spinbox value under certain conditions
This commit is contained in:
parent
8d213efa75
commit
56466e61d3
1 changed files with 2 additions and 1 deletions
|
@ -57,7 +57,8 @@ SpinBox {
|
||||||
onValueChanged: realValue = value/factor
|
onValueChanged: realValue = value/factor
|
||||||
|
|
||||||
stepSize: realStepSize*factor
|
stepSize: realStepSize*factor
|
||||||
value: realValue*factor
|
value: Math.round(realValue*factor)
|
||||||
|
|
||||||
to : realTo*factor
|
to : realTo*factor
|
||||||
from : realFrom*factor
|
from : realFrom*factor
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue