mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 22:57:22 +00:00
parent
ef61d129d3
commit
49df2b9715
1 changed files with 1 additions and 0 deletions
|
@ -235,6 +235,7 @@ QWidget* Widget::CreateSlider(bool reversed, float multiplier, const QString& gi
|
||||||
slider->setValue(std::stoi(setting.ToString()));
|
slider->setValue(std::stoi(setting.ToString()));
|
||||||
|
|
||||||
slider->setInvertedAppearance(reversed);
|
slider->setInvertedAppearance(reversed);
|
||||||
|
slider->setInvertedControls(reversed);
|
||||||
|
|
||||||
serializer = [this]() { return std::to_string(slider->value()); };
|
serializer = [this]() { return std::to_string(slider->value()); };
|
||||||
restore_func = [this]() { slider->setValue(std::stoi(RelevantDefault(setting))); };
|
restore_func = [this]() { slider->setValue(std::stoi(RelevantDefault(setting))); };
|
||||||
|
|
Loading…
Reference in a new issue