| Index: third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js b/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js
|
| index 8a4ada9a71243febea059befc1c80fbd93e107d3..afb4608e771dd4b55e82d4d301f670ef2aff03a8 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js
|
| @@ -508,7 +508,7 @@ WebInspector.DeviceModeModel.prototype = {
|
| var insetsWidth = insets ? insets.left + insets.right : 0;
|
| var insetsHeight = insets ? insets.top + insets.bottom : 0;
|
| var scale = Math.min(screenWidth ? this._preferredSize.width / (screenWidth + outlineWidth) : 1, screenHeight ? this._preferredSize.height / (screenHeight + outlineHeight) : 1);
|
| - scale = Math.min(Math.ceil(scale * 100), 100);
|
| + scale = Math.min(Math.floor(scale * 100), 100);
|
|
|
| var sharpScale = scale;
|
| while (sharpScale > scale * 0.7) {
|
|
|