Clicking outside of the preview box in the overview docker now moves the view of the canvas to be centered at that point.
BUG: 384687
Clicking outside of the preview box in the overview docker now moves the view of the canvas to be centered at that point.
BUG: 384687
Lint Skipped |
Unit Tests Skipped |
Seems to work nicely!
My only small critique is that it would be nice if jumping transitioned more smoothly into dragging.
Right now you can click within your current selection and drag the box around, or thanks to your patch you can click anywhere to jump around. But, if you click to jump to a new position and then (while still holding the mouse down) you drag in a direction, the preview box doesn't drag. In other words, you have to click once to jump to a new position, and then click again to drag from there. I realize that's kind of a nitpick though, haha.
Nevertheless, nice one. =]
Thanks, yeah I didn't think of that. I've changed the patch so you can drag straight after clicking outside the box.
This is only my 3rd patch, so I think I need someone else to commit it for me, if it looks ok. I'll apply for a dev account after this patch.
Hi, @seorasm!
The patch looks and works perfectly! I will push the patch to master now! :)