LT-295 HUD menu should be closed whenever a case is closed.
This commit is contained in:
1 parent
2cc7fcc846
commit
24d3c1bd8a
3 files changed
+20
-4
No files matched your search
@@ -144,7 +144,7 @@ Template.toolbarSection.helpers({
|
||||
});
|
||||
|
||||
Template.toolbarSection.events({
|
||||
'click #toggleHUD'() {
|
||||
'click #toggleHUD'(event) {
|
||||
const $this = $(event.currentTarget).find('#toggleHUD');
|
||||
|
||||
// Stop here if the tool is disabled
|
||||
@@ -155,7 +155,7 @@ Template.toolbarSection.events({
|
||||
const state = Session.get('measurementTableHudOpen');
|
||||
Session.set('measurementTableHudOpen', !state);
|
||||
},
|
||||
'click #toggleTrial'() {
|
||||
'click #toggleTrial'(event) {
|
||||
const $this = $(event.currentTarget).find('#toggleHUD');
|
||||
|
||||
// Stop here if the tool is disabled
|
||||
|
||||
Reference in new issue
Block a user