Closed Bug 1882333 Opened 2 years ago Closed 2 years ago

Update the size of the sidebar toggle button when the dimensions of the editor changes

Categories

(DevTools :: Debugger, enhancement)

enhancement

Tracking

(firefox126 fixed)

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: bomsy, Assigned: bomsy)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

Add support of this in Codemirror 6, also this seems broken in Codemirror 5 so we should fix that as well.

This patch updates the size of the button (above the editor gutter) which toogles the sidebar for codemirror 6.
Note this was broken with the current codemirror as wel so fixed both.

Also adding the ability to attach an updateListener to the editor we can listen for editor changes.

Assignee: nobody → hmanilla
Status: NEW → ASSIGNED
Blocks: 1885432
Pushed by hmanilla@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ada2ec6c4fa2 [devtools] Update the editor toggle button size when the editior dimensions change r=devtools-reviewers,nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
No longer blocks: cm-next
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: