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
Review-Url: https://codereview.chromium.org/2387353005
Cr-Commit-Position: refs/heads/master@{#424001}
(cherry picked from commit ecbadddd6fdc69baeca94183e6805ba10eb587e2)
NOTRY=true
NOPRESUBMIT=true
Patch Set 1 #
Messages
Total messages: 9 (5 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||