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 ESC as a manner to escape the positional and domain overview overlays #47

Closed
laurensvdwiel opened this issue Apr 15, 2019 · 1 comment
Labels
enhancement Must Highest priority

Comments

@laurensvdwiel
Copy link
Member

Implementation:
Add

function keyPress (e) {
    if(e.key === "Escape") {
        $("#domain_information_overlay").removeClass("is-active");
	$("#positional_information_overlay").removeClass("is-active");
        d3.selectAll(".tr").classed("is-selected", false);
    }
}

To https://github.com/cmbi/metadome/blob/master/metadome/presentation/web/templates/js/dashboard.js

@laurensvdwiel laurensvdwiel added enhancement Must Highest priority labels Apr 15, 2019
laurensvdwiel added a commit that referenced this issue Apr 16, 2019
@laurensvdwiel
Copy link
Member Author

Fixed as of d7eb753

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Must Highest priority
Projects
None yet
Development

No branches or pull requests

1 participant