CoatiSoftware/Sourcetrail
Hold space to pan graph by dragging from anywhere
Aberta
#713 aberto em 29 de jul. de 2019
featuregood first issue
Métricas do repositório
- Stars
- (14.130 estrelas)
- Métricas de merge de PR
- (Métricas PR pendentes)
Description
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:
QtGraphNodeandQtGraphEdgeneed to ignore the mouse drag event whenspaceis held downQtGraphicsViewneeds to handle the drag whenspaceis held down.