Closed fdevillalobos closed 9 years ago
I can replicate this bug by setting manualResolutionScaleFactors to "0.8". manualResolutionScaleFactors should have the format: "1920x1080": 1.5, "2880x1800": 2.5 as shown in the README.
I currently use the JSON.parse() to read the list of resolutions. Therefore errors in syntax will result in parse errors like yours. I will just parse the values manually and make syntax errors fail gracefully.
Release a4521cf0f44de8684be10103a0acf3a17b09bafe parses manualResolutionScaleFactors with a regex instead of JSON.parse(). That should fix your problem.
[Enter steps to reproduce below:]
Atom Version: 1.0.0 System: Ubuntu 14.04.2 Thrown From: hidpi package, v0.6.0
Stack Trace
Uncaught SyntaxError: Unexpected number
Commands
Config
Installed Packages