minimap
minimap copied to clipboard
Downgrading screen DPI makes lines extra thick
My MacBook Pro is Retina, older external monitor is not. Dragging Atom window from laptop to external monitor makes the lines thick. Fonts seem normal. Workaround; refresh Atom, lines go back to expected thinness.
"Won't fix" is acceptable, since this is an easily workaround. More of an FYI in case someone else finds it.
Hmm, interesting, do you mind telling me if you get different value for devicePixelRatio in the devtools console when you switch from one screen to the other?
Yes, as expected (2 for laptop, 1 for external). The thick lines will happen only for the showing tab; switching tabs fixes it. Also seems to happen only for the right most pane if in dual pane mode.
Not sure what happens since we don't cache the device pixel ratio in the minimap, and we force a full refresh on resize (which should update the device pixel ratio used to render the minimap). I'll need to find the way to reproduce that as I don't have a retina device at the moment.
If you can try v4.20 and tell me if things got better? I added a media query listener that is suppose to catch when the device pixel ratio changes.
Let me look when I get back into the office.