-
Notifications
You must be signed in to change notification settings - Fork 456
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Make canvas padding a bit smaller so frames should always be visible. Padding is reduced from 100% to 95% of clipper size. * Added retries to some functions. This is a bit hacky and difficult to maintain. A rewrite/refactor of the transform code is due. * Fix adjustCanvasSize to retry if frames not rendered. * Fix setTranslate to retry if canvas too small. * Fix tryZoomToFitFrame to retry if target frame is not rendered. * Remove dead code like fixCanvas, artboardNavBarHeight, getDisplayArea. Change-Id: Ibb7388b34e91b867d7e1146d4048fcb99066a6c5 GitOrigin-RevId: 92012ec33ef3466037e75fa9c65300cb3640136e
- Loading branch information
Showing
3 changed files
with
142 additions
and
107 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
Oops, something went wrong.