Chromium Code Reviews
DescriptionDevTools: disable smoothing and correct nexus device frame dimensions for screenshots
For Nexus5X and Nexus6P presets, the existing SVGs were not well sized. That is:
height of device outline !== insets.top + screenSize.height + insets.bottom
This produced a noticeable gap in device mode screenshots. This CL corrects the
SVGs and insets to match measured dimensions.
Additionally, canvas drawn images look blurry in a device mode screenshots since
canvas contexts' imageSmoothingEnabled property is true by default. This CL
disables unnecessary smoothing.
BUG=652938
Committed: https://crrev.com/ecbadddd6fdc69baeca94183e6805ba10eb587e2
Cr-Commit-Position: refs/heads/master@{#424001}
Patch Set 1 #Patch Set 2 : Use integer numbers #Patch Set 3 : 1px adjust #Patch Set 4 : Use optimized svg format #
Messages
Total messages: 18 (10 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||