| Index: Source/devtools/front_end/FlameChart.js
|
| diff --git a/Source/devtools/front_end/FlameChart.js b/Source/devtools/front_end/FlameChart.js
|
| index 717fa80858b4914b18cb5a4429682e6568a7fdb2..f4af1affcb9333c23db84e06233a6453b739b582 100644
|
| --- a/Source/devtools/front_end/FlameChart.js
|
| +++ b/Source/devtools/front_end/FlameChart.js
|
| @@ -441,7 +441,7 @@ WebInspector.FlameChart.prototype = {
|
| var windowRight = this._timeWindowRight !== Infinity ? this._timeWindowRight : this._dataProvider.zeroTime() + this._dataProvider.totalTime();
|
|
|
| if (e.wheelDeltaY) {
|
| - if (e.altKey) {
|
| + if (!e.altKey) {
|
| const mouseWheelZoomSpeed = 1 / 120;
|
| var zoom = Math.pow(1.2, -e.wheelDeltaY * mouseWheelZoomSpeed) - 1;
|
| var cursorTime = this._cursorTime(e.offsetX);
|
|
|