Changeset 221798 in webkit


Ignore:
Timestamp:
Sep 8, 2017 1:37:28 PM (7 years ago)
Author:
webkit@devinrousso.com
Message:

Web Inspector: Canvas: changes to currentX/currentY aren't highlighted in the details sidebar
https://bugs.webkit.org/show_bug.cgi?id=176569

Reviewed by Matt Baker.

  • UserInterface/Models/RecordingAction.js:

Add entries to WI.RecordingAction._stateModifiers for each path function.

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r221765 r221798  
     12017-09-08  Devin Rousso  <webkit@devinrousso.com>
     2
     3        Web Inspector: Canvas: changes to currentX/currentY aren't highlighted in the details sidebar
     4        https://bugs.webkit.org/show_bug.cgi?id=176569
     5
     6        Reviewed by Matt Baker.
     7
     8        * UserInterface/Models/RecordingAction.js:
     9        Add entries to WI.RecordingAction._stateModifiers for each path function.
     10
    1112017-09-07  Joseph Pecoraro  <pecoraro@apple.com>
    212
  • trunk/Source/WebInspectorUI/UserInterface/Models/RecordingAction.js

    r221695 r221798  
    377377WI.RecordingAction._stateModifiers = {
    378378    [WI.Recording.Type.Canvas2D]: {
     379        arc: ["currentX", "currentY"],
     380        arcTo: ["currentX", "currentY"],
     381        beginPath: ["currentX", "currentY"],
     382        bezierCurveTo: ["currentX", "currentY"],
    379383        clearShadow: ["shadowOffsetX", "shadowOffsetY", "shadowBlur", "shadowColor"],
     384        closePath: ["currentX", "currentY"],
     385        ellipse: ["currentX", "currentY"],
     386        lineTo: ["currentX", "currentY"],
     387        moveTo: ["currentX", "currentY"],
     388        quadraticCurveTo: ["currentX", "currentY"],
     389        rect: ["currentX", "currentY"],
    380390        resetTransform: ["transform"],
    381391        rotate: ["transform"],
Note: See TracChangeset for help on using the changeset viewer.