Skip to content

Reduxed SampleView with new GUI

Marcus Oskarsson requested to merge gh-4335f026/123/bolmsten/mxcube-fabric into master

Created by: bolmsten

This PR contains the Reduxed SampleView with a new GUI. I have also made small changes to the rest of the CSS to correspond to the new GUI changes.

This is a first implementation of the new SampleView and it uses the Fabric JS library to draw on the Canvas. This seems to be the best library for this use at the moment but it does not build correctly in npm so it was added manually. It seems that they are working on fixing this issue so it will be included into the npm build later.

At the moment you can right click on points and see what actions are available. You can also select two points and draw a line. All this corresponds to the discussed functionality in Barcelona.

Merge request reports