Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add panning methods to NodifyEditor #153

Merged
merged 1 commit into from
Nov 26, 2024
Merged

Add panning methods to NodifyEditor #153

merged 1 commit into from
Nov 26, 2024

Conversation

miroiu
Copy link
Owner

@miroiu miroiu commented Nov 26, 2024

📝 Description of the Change

Move logic from editor states into the editor itself to better support different input sources.

New NodifyEditor methods:

  • BeginPanning
  • UpdatePanning
  • EndPanning,
  • CancelPanning

New NodifyEditor configuration:

  • AllowPanningCancellation - panning can be cancelled by pressing Escape or RightClick by default if this field is set to true

Related: #146

🐛 Possible Drawbacks

None.

@miroiu miroiu merged commit 4521531 into master Nov 26, 2024
3 checks passed
@miroiu miroiu deleted the feature/146-panning branch November 26, 2024 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant