Changeset 146858 in webkit
- Timestamp:
- Mar 26, 2013 1:20:18 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r146856 r146858 1 2013-03-26 Pan Deng <pan.deng@intel.com> 2 3 Web Inspector: [FlameChart] Make function bar highlighted consistent with cursor. 4 https://bugs.webkit.org/show_bug.cgi?id=113266. 5 6 Reviewed by Vsevolod Vlasov. 7 8 In Flamechart, the highlighted function bar is not consistent with cursor sometimes, 9 reason is that time range that converted from cursor position is truncated by floor. 10 Actually float value is expected to compare with function startTime and duration. 11 12 No new tests. 13 14 * inspector/front-end/FlameChart.js: 15 (WebInspector.FlameChart.prototype._coordinatesToNodeIndex): Remove floor 16 1 17 2013-03-26 Mihnea Ovidenie <mihnea@adobe.com> 2 18 -
trunk/Source/WebCore/inspector/front-end/FlameChart.js
r146619 r146858 452 452 return -1; 453 453 var timelineEntries = timelineData.entries; 454 var cursorTime = Math.floor((x + this._pixelWindowLeft) * this._pixelToTime);454 var cursorTime = (x + this._pixelWindowLeft) * this._pixelToTime; 455 455 var cursorLevel = Math.floor((this._canvas.height - y) / this._barHeight); 456 456
Note: See TracChangeset
for help on using the changeset viewer.