Skip to content

Conversation

@mayorovad
Copy link

Summary
There two bugs in story

  • No guides are rendered. Because typescript code transpiled to class with constructor, overriding SelectionHandler.prototype.guidesEnabled to true no longer works. Extracting plugin instance and setting guidesEnabled for it works fine.

    // Enables guides
    SelectionHandler.prototype.guidesEnabled = true;

  • Alt key disabling guides feature not working. isAltDown is not defined error. isAltDown method is moved to eventUtils, simply fixing import.

Description for the changelog
Fixed Guides story

@tbouffard tbouffard added the bug Something isn't working label Oct 7, 2022
@tbouffard tbouffard merged commit 4804767 into maxGraph:development Oct 9, 2022
@mayorovad mayorovad deleted the guides-fix branch October 13, 2022 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants