This repository has been archived by the owner on Nov 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 954
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the visualiser scrollable and remember width
Summary: Previously If you set the visualiser too wide, the height adjusts with the aspect ratio and the bottom was cut off and there was no way to scroll. Have added a scrollbar if it exceeds the available height Also the width state was promoted to an atom so the users resize amount is preserved when moving between plugins A better solution might be to prevent the visualiser from getting too wide for the available hieght but it get complex when the window resizes. Reviewed By: lblasa Differential Revision: D43351294 fbshipit-source-id: f618a69ed025214593a74b952ce75c5fd98447cd
- Loading branch information
1 parent
0651bb2
commit d24343d
Showing
2 changed files
with
21 additions
and
10 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