minimap icon indicating copy to clipboard operation
minimap copied to clipboard

Downgrading screen DPI makes lines extra thick

Open tomByrer opened this issue 9 years ago • 5 comments

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.

tomByrer avatar Feb 15 '16 15:02 tomByrer

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?

abe33 avatar Feb 16 '16 08:02 abe33

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.

tomByrer avatar Feb 16 '16 15:02 tomByrer

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.

abe33 avatar Feb 16 '16 16:02 abe33

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.

abe33 avatar Mar 06 '16 22:03 abe33

Let me look when I get back into the office.

tomByrer avatar Mar 14 '16 07:03 tomByrer