Skip to content

Commit

Permalink
removed unneeded ExecuteDefaultAction from graph view
Browse files Browse the repository at this point in the history
  • Loading branch information
Doppelkeks committed Jan 23, 2025
1 parent 73a5610 commit 5537513
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,3 +264,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [0.4.7] - 2025-01-25
### Changed
- Proper unregister Events

## [0.4.8] - 2025-01-25
### Fixed
- removed unneeded ExecuteDefaultAction from graph view
8 changes: 0 additions & 8 deletions Editor/Views/GraphView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,6 @@ public Vector2 GetMouseViewPosition() {
return LocalToViewTransformPosition(this.WorldToLocal(mousePosition));
}

/// <summary>
/// Empty override to prevent defualt logic due to keydown event bugs.
/// </summary>
/// <param name="baseEvent"></param>
protected override void ExecuteDefaultAction(EventBase baseEvent) {
//base.ExecuteDefaultAction(baseEvent);
}

public void SetSelected(GraphElement graphElement, bool selected = true, bool clear = true) {
if (clear) {
ClearSelection();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.gentlymad.newgraph",
"version": "0.4.7",
"version": "0.4.8",
"displayName": "NewGraph",
"description": "A general data oriented node graph solution. This is build upon the idea to visualize complex data structures as graph networks without having to modify already established data classes, except adding [Node], [Port] and [SerializeReference] attributes to call classes that should show in the Graph View.",
"unity": "2022.3",
Expand Down

0 comments on commit 5537513

Please sign in to comment.