mirror of
https://github.com/dscalzi/HeliosLauncher.git
synced 2024-12-21 19:22:13 -08:00
Fix RAM slider megabyte calculation.
This commit is contained in:
parent
22d2e064f3
commit
9e26b288fc
@ -215,7 +215,7 @@ function saveSettingsValues(){
|
||||
if(cVal === 'MinRAM' || cVal === 'MaxRAM'){
|
||||
let val = Number(v.getAttribute('value'))
|
||||
if(val%1 > 0){
|
||||
val = val*1000 + 'M'
|
||||
val = val*1024 + 'M'
|
||||
} else {
|
||||
val = val + 'G'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user