Irev-Dev / MRI-Volume-Slice

Tools for view MRI Volumes in the browser
6 stars 7 forks source link

Fix layout break with different niftif data or no data #24

Closed ismaeldcom closed 5 years ago

ismaeldcom commented 5 years ago

15 Removed inline-block space, recalculated view ports width and limit canvas width to avoid overflow.

Irev-Dev commented 5 years ago

Haven't had a chance to look at this yet @ismaeldcom, but FYI there are conflicts with a branch I just merged.

ismaeldcom commented 5 years ago

Yes, with the load PR, I just marge master and fix the conflicts, also add a minor cosmetic refactor of load code to replace PascalCase and use only kebab-case. And improve layout break solution to let viewports resize, because limit the size affect mouse events coordinates and broke the interaction.