Open krnlde opened 5 years ago
Thanks for your suggestion. Probably some lines of code can be copied from fitToViewer function. I'll include this feature in a future version (anyway any PR is appreciated).
Adjust your 'fitSelection' area equal to viewport's width/height ratio. This may be a workaround.
any update on this ? or is there any workaround that we can do first ?
Bug reports:
Currently
fitSelection
always fits the selection to the top left of the viewport. It should behave similar tofitToViewer
where you are able to pass the preferences as parameters. Right now there is no way to enforce that other than calculating it myself.