mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-17 08:36:42 +00:00
removed default resolution/FPS text if saved value is found
This commit is contained in:
parent
acfe4d8be6
commit
884eb39589
@ -136,6 +136,7 @@ function readData(key, callbackFunction) {
|
||||
}
|
||||
|
||||
function loadResolution(previousValue) {
|
||||
document.getElementById('selectResolution').remove(0);
|
||||
document.getElementById('selectResolution').value = previousValue.resolution != null ? previousValue.resolution : '1280:720';
|
||||
}
|
||||
|
||||
@ -144,6 +145,7 @@ function saveResolution() {
|
||||
}
|
||||
|
||||
function loadFramerate(previousValue) {
|
||||
document.getElementById('selectFramerate').remove(0);
|
||||
document.getElementById('selectFramerate').value = previousValue.frameRate != null ? previousValue.frameRate : '30';
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user