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

Short-term fix for wire hovering bug #129

Merged
merged 5 commits into from
Jun 6, 2023
Merged

Conversation

sjbreiner
Copy link
Collaborator

There is currently a bug (#117) where wires in DWD are not hoverable/clickable after they are drawn.

I've tracked it down to the removal of the Interactable attribute at the end of the drag, which doesn't trigger an update. As a short-term fix, I am setting the value to true at the end of the drag instead, but this is just a short-term fix, as attribute removal should be triggering the update.

The problem isn't showing up in simplepetri, which calls the same dragEdge method, but without the bells and whistles (port lifting, type propagation).

@sjbreiner
Copy link
Collaborator Author

There are a few other minor changes:

  • added handlers to the text label of wires
  • Reverted debug to print internal scala state rather than json

Copy link
Collaborator

@olynch olynch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for the fix @sjbreiner

@olynch olynch merged commit 690614f into AlgebraicJulia:bugfix Jun 6, 2023
4 checks passed
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.

None yet

2 participants