Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Hold space to pan graph by dragging from anywhere #713

Open
egraether opened this issue Jul 29, 2019 · 0 comments
Open

Hold space to pan graph by dragging from anywhere #713

egraether opened this issue Jul 29, 2019 · 0 comments
Labels
feature good first issue ideal for first-time contributors

Comments

@egraether
Copy link
Contributor

egraether commented Jul 29, 2019

like in Photoshop

Currently you can only pan the whole graph when clicking and dragging into the background area.

With this change, holding down space should allow to click anywhere to drag the whole graph, even when the mouse is currently over a node or edge.

Implementation suggestion:

  • QtGraphNode and QtGraphEdge need to ignore the mouse drag event when space is held down
  • QtGraphicsView needs to handle the drag when space is held down.
@egraether egraether added the good first issue ideal for first-time contributors label Nov 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature good first issue ideal for first-time contributors
Projects
None yet
Development

No branches or pull requests

1 participant