| Index: Source/devtools/front_end/emulation/ResponsiveDesignView.js
|
| diff --git a/Source/devtools/front_end/emulation/ResponsiveDesignView.js b/Source/devtools/front_end/emulation/ResponsiveDesignView.js
|
| index 767643d148305a1964116063cdedbb6906d6e75e..b179d770def53f4225b38bbe781b1053e114ec57 100644
|
| --- a/Source/devtools/front_end/emulation/ResponsiveDesignView.js
|
| +++ b/Source/devtools/front_end/emulation/ResponsiveDesignView.js
|
| @@ -734,8 +734,10 @@ WebInspector.ResponsiveDesignView.prototype = {
|
| if (device && mode) {
|
| var orientation = device.orientationByName(mode.orientation);
|
| this._deviceInsets = mode.insets;
|
| + WebInspector.overridesSupport.settings.screenOrientationOverride.set(mode.orientation == WebInspector.EmulatedDevice.Horizontal ? "landscapePrimary" : "portraitPrimary");
|
| } else {
|
| this._deviceInsets = new Insets(0, 0, 0, 0);
|
| + WebInspector.overridesSupport.settings.screenOrientationOverride.set("");
|
| }
|
| this.dispatchEventToListeners(WebInspector.OverridesSupport.PageResizer.Events.InsetsChanged, this._deviceInsets);
|
| },
|
|
|