mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 04:04:22 +02:00
Fix for some spinner boxes not changing value when using their buttons or the mouse wheel.
Changed the default value of FloatPreference::_step from 0.1f to 1, because FloatPreference::_decimals defaults to 0. Also because before this branch, all spinners used a step of 1 rather than SpinnerPreference::_step. Spinners such as Settings > General > Desktop Tablet Scale / VR Tablet Scale work again.
This commit is contained in:
parent
a2e4b81ed8
commit
26369ca2a9
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ protected:
|
|||
uint _decimals { 0 };
|
||||
float _min { 0 };
|
||||
float _max { 1 };
|
||||
float _step { 0.1f };
|
||||
float _step { 1 };
|
||||
};
|
||||
|
||||
class IntPreference : public Preference {
|
||||
|
|
Loading…
Reference in a new issue