mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 15:23:05 +02:00
Added missing FPS custom setting.
This commit is contained in:
parent
aa77ca8924
commit
096a1d5006
1 changed files with 13 additions and 1 deletions
|
@ -157,7 +157,7 @@ Rectangle {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Custom FPS
|
||||||
Item {
|
Item {
|
||||||
id: customFPSVaulesContainer
|
id: customFPSVaulesContainer
|
||||||
Layout.fillWidth: true;
|
Layout.fillWidth: true;
|
||||||
|
@ -197,6 +197,18 @@ Rectangle {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SettingNumber {
|
||||||
|
settingText: "Unfocused";
|
||||||
|
minValue: 1;
|
||||||
|
maxValue: 9999;
|
||||||
|
suffixText: "fps";
|
||||||
|
settingValue: Performance.getCustomRefreshRate(2)
|
||||||
|
|
||||||
|
onValueChanged: {
|
||||||
|
Performance.setCustomRefreshRate(2, value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
SettingNumber {
|
SettingNumber {
|
||||||
settingText: "Minimized";
|
settingText: "Minimized";
|
||||||
minValue: 1;
|
minValue: 1;
|
||||||
|
|
Loading…
Reference in a new issue