Changeset 242962 in webkit
- Timestamp:
- Mar 14, 2019 1:48:38 PM (5 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r242948 r242962 1 2019-03-14 Devin Rousso <drousso@apple.com> 2 3 Web Inspector: REGRESSION: Canvas: the first processed action should be selected as soon as it's available if no previous selected action exists 4 https://bugs.webkit.org/show_bug.cgi?id=195732 5 <rdar://problem/48875214> 6 7 Reviewed by Matt Baker. 8 9 * UserInterface/Views/CanvasSidebarPanel.js: 10 (WI.CanvasSidebarPanel.prototype._handleRecordingProcessedAction): 11 Rather than wait until the entire recording is ready, set the selected action as soon as the 12 first action is ready (assuming there isn't already a selected action). 13 1 14 2019-03-14 Joseph Pecoraro <pecoraro@apple.com> 2 15 -
trunk/Source/WebInspectorUI/UserInterface/Views/CanvasSidebarPanel.js
r242604 r242962 578 578 this._createRecordingActionTreeElement(action, index, isInitialStateAction ? this._recordingTreeOutline : this._recordingTreeOutline.children.lastValue); 579 579 580 if (!this._recording[WI.CanvasSidebarPanel.SelectedActionSymbol]) { 581 console.assert(action === this._recording.actions[0]); 582 this.action = this._recording.actions[0]; 583 } 584 580 585 if (this._recording.ready) { 581 586 this._recording.removeEventListener(null, null, this); 582 583 if (!this._recording[WI.CanvasSidebarPanel.SelectedActionSymbol])584 this.action = this._recording.actions[0];585 587 586 588 if (this._recordingProcessingOptionsContainer) {
Note: See TracChangeset
for help on using the changeset viewer.