Changeset 248117 in webkit
- Timestamp:
- Aug 1, 2019 12:43:02 PM (5 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r248116 r248117 1 2019-08-01 Zhifei Fang <zhifei_fang@apple.com> 2 3 results.webkit.org: Collision detection for dots is off by 2 * dotMargin 4 https://bugs.webkit.org/show_bug.cgi?id=200347 5 6 Reviewed by Jonathan Bedard. 7 8 * resultsdbpy/resultsdbpy/view/static/library/js/components/TimelineComponents.js: 9 (Timeline.CanvasSeriesComponent): Need to change it to dotMargin + radius other than use a fixed 3 * radius, which is for the old wide timeline 10 1 11 2019-08-01 Jiewen Tan <jiewen_tan@apple.com> 2 12 -
trunk/Tools/resultsdbpy/resultsdbpy/view/static/library/js/components/TimelineComponents.js
r248076 r248117 323 323 if (currentDotIndex < dots.length && comp(scales[i], getScale(dots[currentDotIndex])) === 0) { 324 324 render(dots[currentDotIndex], context, x, radius); 325 dots[currentDotIndex]._dotCenter = {x: x + 3 *radius, y: radius};325 dots[currentDotIndex]._dotCenter = {x: x + dotMargin + radius, y: radius}; 326 326 dots[currentDotIndex]._cachedScrollLeft = scrollLeft < padding ? scrollLeft : scrollLeft - padding; 327 327 inCacheDots.push(dots[currentDotIndex]);
Note: See TracChangeset
for help on using the changeset viewer.