Closed tyf0420 closed 3 years ago
Able to drag the navigator.
When moving the canvas paper, the mini-map navigator will also move, and the component in mini-map is fixed. But now the positions of mini-map navigator and canvas paper are still not matching. Working on that bug.
Modify the movement, now the navigator can moves the canvas correctly.
Still need to set the limit of the navigator (when moving the canvas paper, the navigator may exceed the mini-map region). Also need to improve the zoom in/out feature because the origin of the jointJS paper would change.
Add the limit check. Before moving the canvas paper, it would first check whether the event would make the navigator exceed the mini-map region.
Task
Enable drag feature of Mini-map navigator. Demo
Update
Temporarily be able to drag the navigator, but haven't completed the bindings because the implementation of demo is very different from Texera. Need more discussion and suggestions.