CANDELbio / mantis-viewer

Electron-based multiplexed imaging viewer
Apache License 2.0
22 stars 7 forks source link

Resize display when zoomed #23

Closed ngreenwald closed 4 years ago

ngreenwald commented 4 years ago

It would be nice if Mantis would resize the display to better fit the available screen space once zoom has been activated. If non-square images are loaded, only a small amount of the available screen space is used to display the image, as see in the screenshot below

image

rj3d commented 4 years ago

I like this idea! I'll be sending you all an email shortly about the next release, but I'll add this to the list of improvements for the next release.

ngreenwald commented 4 years ago

Great, thanks!

On Mon, Apr 13, 2020 at 5:55 PM Robert Schiemann notifications@github.com wrote:

I like this idea! I'll be sending you all an email shortly about the next release, but I'll add this to the list of improvements for the next release.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ParkerICI/mantis-viewer/issues/23#issuecomment-613167855, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADJB47I5IPE4PEL4IQDXJ3DRMOX7XANCNFSM4MDHLZDQ .

rj3d commented 4 years ago

@ngreenwald I just uploaded a new build for you to play with that adds this feature. Let me know if you find any bugs!

https://github.com/ParkerICI/mantis-viewer/releases/tag/v1.1.0-alpha.3

rj3d commented 4 years ago

@ngreenwald just pushed another new build that resizes the display to take up all available space when zoomed.

https://github.com/ParkerICI/mantis-viewer/releases/tag/v1.1.0-alpha.4

ngreenwald commented 4 years ago

Okay awesome! I'll take a look tonight

On Wed, Apr 22, 2020 at 3:22 PM Robert Schiemann notifications@github.com wrote:

@ngreenwald https://github.com/ngreenwald just pushed another new build that resizes the display to take up all available space when zoomed.

https://github.com/ParkerICI/mantis-viewer/releases/tag/v1.1.0-alpha.4

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ParkerICI/mantis-viewer/issues/23#issuecomment-618070914, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADJB47N4NA3FNZVTWAZWTNDRN5UYTANCNFSM4MDHLZDQ .

ngreenwald commented 4 years ago

This is awesome!

rj3d commented 4 years ago

Glad you like it! Thanks for the suggestion!