BuntingLabs / buntinglabs-qgis-plugin

QGIS plugin to digitize lines and polygons from raster maps using AI
https://buntinglabs.com
GNU General Public License v2.0
37 stars 4 forks source link

Add functionality to move the canvas with arrow keys #9

Closed pathmapper closed 4 weeks ago

pathmapper commented 2 months ago

When digitizing a large raster, there's often a need to move the canvas.

While this is possible with the standard QGIS "Pan Map" tool, this PR adds the functionality to move the map by 10% of the width/height of the canvas using the arrow keys without having to switch between tools.

brendanashworth commented 1 month ago

Thanks @pathmapper for the PR — going to look into this and review soon.

brendanashworth commented 1 month ago

@pathmapper did the arrow keys not work for you, at all? They work for me without this pull request. Wondering if we're overriding a key press somewhere in a particular configuration.

pathmapper commented 4 weeks ago

did the arrow keys not work for you, at all?

Yes, that was the case, but I have now checked this with the latest version, where it is no longer a problem :)

brendanashworth commented 4 weeks ago

@pathmapper interesting to know this was a version issue! Thank you for submitting this fix even if that ended up being the issue 😄 I appreciate it!