aces / brainbrowser

Web-based visualization tools for neurological data.
https://brainbrowser.cbrain.mcgill.ca/
GNU Affero General Public License v3.0
352 stars 124 forks source link

Volume viewer - view should scale to size of loaded image. #288

Closed rdvincent closed 8 years ago

rdvincent commented 8 years ago

The current zoom logic of the volume viewer assumes too much about the size of the image. Loading a mouse brain image, for example, will cause only a tiny image to be rendered under the crosshairs. The viewer should automatically scale the field of view of the image to fit the size of the canvas.

rdvincent commented 8 years ago

Fixed in #299