Title: [253084] trunk/Source/WebInspectorUI
Revision
253084
Author
[email protected]
Date
2019-12-03 19:06:02 -0800 (Tue, 03 Dec 2019)

Log Message

Web Inspector: Timelines: stopping time marker is permanently removed when the current recording is cleared
https://bugs.webkit.org/show_bug.cgi?id=204827

Reviewed by Timothy Hatcher.

* UserInterface/Views/TimelineOverview.js:
(WI.TimelineOverview.prototype._recordingReset):
Re-add the marker (and ensure that it's hidden) when the active recording is reset.

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (253083 => 253084)


--- trunk/Source/WebInspectorUI/ChangeLog	2019-12-04 03:04:19 UTC (rev 253083)
+++ trunk/Source/WebInspectorUI/ChangeLog	2019-12-04 03:06:02 UTC (rev 253084)
@@ -1,3 +1,14 @@
+2019-12-03  Devin Rousso  <[email protected]>
+
+        Web Inspector: Timelines: stopping time marker is permanently removed when the current recording is cleared
+        https://bugs.webkit.org/show_bug.cgi?id=204827
+
+        Reviewed by Timothy Hatcher.
+
+        * UserInterface/Views/TimelineOverview.js:
+        (WI.TimelineOverview.prototype._recordingReset):
+        Re-add the marker (and ensure that it's hidden) when the active recording is reset.
+
 2019-12-02  Nikita Vasilyev  <[email protected]>
 
         Web Inspector: Provide UI to convert between sRGB and p3 color spaces

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/TimelineOverview.js (253083 => 253084)


--- trunk/Source/WebInspectorUI/UserInterface/Views/TimelineOverview.js	2019-12-04 03:04:19 UTC (rev 253083)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/TimelineOverview.js	2019-12-04 03:06:02 UTC (rev 253084)
@@ -816,7 +816,13 @@
     _recordingReset(event)
     {
         this._timelineRuler.clearMarkers();
+
         this._timelineRuler.addMarker(this._currentTimeMarker);
+
+        if (this._stoppingTimeMarker) {
+            this._stoppingTimeMarker.time = -1; // Hide the marker.
+            this._timelineRuler.addMarker(this._stoppingTimeMarker);
+        }
     }
 
     _canShowTimelineType(type)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to