Skip to content

Act on press instead of release #1

@devhelpr

Description

@devhelpr

Currently all click actions (selecting a node, deselecting nodes by clicking on canvas) are linked to the pointer release event. This causes a delay, so acting on press seems better. Also clicking on buttons or on toolbar options (to add a node) is linked to the release event.

What is the impact on this for other actions like dragging the canvas?

  • these are linked to the pointer move event , so should be even better because usually you also want to select or deselect a node when dragging. one thing that would need to be different is the appearance of the settings-popup : when a popup with node settings is available, it appears immediately when a node is selected... when dragging a node this can be in the way if it appears immediately. Maybe a solutions can be to only open the settings-popup using the settings-button in the side-menu?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions