-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update circuits widget sizing behavior (#1921)
This change fixes a few quirks of the `Circuit` widget, specifically: - if the width of the widget is greater than the width of the cell output area, scroll bars are added, and - setting a custom zoom level by changing the value in the zoom control disables the resize handling so that VS Code doesn't incorrectly trigger a recalculation of the default zoom and undo the manual change. Confirmed with manual testing that window resizing in VS Code circuit display is still hadled properly. --------- Co-authored-by: Mine Starks <[email protected]>
- Loading branch information
1 parent
6c3ab39
commit a51dcb3
Showing
2 changed files
with
15 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters