Closed Bug 1034670 Opened 12 years ago Closed 12 years ago

The canvas graphs should draw the background separately from the plotted data

Categories

(DevTools :: Performance Tools (Profiler/Timeline), defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 33

People

(Reporter: vporof, Assigned: vporof)

References

Details

Attachments

(1 file, 1 obsolete file)

Needed for bug 1034669.
Blocks: 1034669
Attached patch v1 (obsolete) — Splinter Review
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Attachment #8451104 - Flags: review?(pbrosset)
Depends on: 1034668
Blocks: 879008
Comment on attachment 8451104 [details] [diff] [review] v1 Review of attachment 8451104 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/devtools/shared/widgets/Graphs.jsm @@ +645,4 @@ > let ctx = this._ctx; > ctx.clearRect(0, 0, this._width, this._height); > > + if (this._cachedHighlightMask) { I think you meant this._cachedBackgroundImage here instead. @@ +645,5 @@ > let ctx = this._ctx; > ctx.clearRect(0, 0, this._width, this._height); > > + if (this._cachedHighlightMask) { > + ctx.drawImage(this._cachedHighlightMask, 0, 0, this._width, this._height); And here.
Attachment #8451104 - Flags: review?(pbrosset)
Attached patch v2Splinter Review
Yup!
Attachment #8451104 - Attachment is obsolete: true
Attachment #8451643 - Flags: review?(pbrosset)
Attachment #8451643 - Flags: review?(pbrosset) → review+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 33
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: