| Index: third_party/WebKit/Source/devtools/front_end/emulation/SensorsView.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/emulation/SensorsView.js b/third_party/WebKit/Source/devtools/front_end/emulation/SensorsView.js
|
| index a944b761f53b050307c778e32f60715b53792947..cdf5ed07ee9f0d9948c87ce60c489eed5f2a9a57 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/emulation/SensorsView.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/emulation/SensorsView.js
|
| @@ -253,7 +253,7 @@ WebInspector.SensorsView.prototype = {
|
| */
|
| function roundAngle(angle)
|
| {
|
| - return Math.round(angle*10000)/10000;
|
| + return Math.round(angle * 10000) / 10000;
|
| }
|
|
|
| if (modificationSource != WebInspector.SensorsView.DeviceOrientationModificationSource.UserInput) {
|
| @@ -341,7 +341,7 @@ WebInspector.SensorsView.prototype = {
|
| var axis, angle;
|
| if (event.shiftKey) {
|
| axis = new WebInspector.Geometry.Vector(0, 0, -1);
|
| - angle = (this._mouseDownVector.x - mouseMoveVector.x)*WebInspector.SensorsView.ShiftDragOrientationSpeed;
|
| + angle = (this._mouseDownVector.x - mouseMoveVector.x) * WebInspector.SensorsView.ShiftDragOrientationSpeed;
|
| } else {
|
| axis = WebInspector.Geometry.crossProduct(this._mouseDownVector, mouseMoveVector);
|
| angle = WebInspector.Geometry.calculateAngle(this._mouseDownVector, mouseMoveVector);
|
|
|