Replies: 1 comment
-
Well, I realized that if viewer and selection has the same width-height ratio, the alignment is not needed, because it fits perfectly. So that's a kind of work around. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I call fitSelection, I want to control the alignment. The selection always fits to top-right. I want it to fit center-center. How can I achieve this? The fitToViewer has align arguments right? ALIGN_CENTER,ALIGN_LEFT,ALIGN_RIGHT,ALIGN_TOP,ALIGN_BOTTOM
Beta Was this translation helpful? Give feedback.
All reactions