Web Inspector: Canvas: taking a second recording doesn't select the Initial State...
authordrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Feb 2019 19:12:20 +0000 (19:12 +0000)
committerdrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Feb 2019 19:12:20 +0000 (19:12 +0000)
https://bugs.webkit.org/show_bug.cgi?id=194685

Reviewed by Matt Baker.

* UserInterface/Views/CanvasSidebarPanel.js:
(WI.CanvasSidebarPanel.prototype._recordingChanged):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@241601 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Views/CanvasSidebarPanel.js

index b83b1ec..ef12220 100644 (file)
@@ -1,3 +1,13 @@
+2019-02-15  Devin Rousso  <drousso@apple.com>
+
+        Web Inspector: Canvas: taking a second recording doesn't select the Initial State by default
+        https://bugs.webkit.org/show_bug.cgi?id=194685
+
+        Reviewed by Matt Baker.
+
+        * UserInterface/Views/CanvasSidebarPanel.js:
+        (WI.CanvasSidebarPanel.prototype._recordingChanged):
+
 2019-02-14  Commit Queue  <commit-queue@webkit.org>
 
         Unreviewed, rolling out r241497.
index b5cc352..1f4a2b3 100644 (file)
@@ -374,6 +374,8 @@ WI.CanvasSidebarPanel = class CanvasSidebarPanel extends WI.NavigationSidebarPan
     {
         this._recordingTreeOutline.removeChildren();
 
+        this._selectedRecordingActionIndex = NaN;
+
         if (this._recordingProcessingOptionsContainer) {
             this._recordingProcessingOptionsContainer.remove();
             this._recordingProcessingOptionsContainer = null;