Now background, map_data, help stay open when user clicks on map surface

There is really no need to hide these, and the user might just want to
keep the pane open (e.g. viewing help) while they do stuff.
This commit is contained in:
Bryan Housel
2017-11-22 22:29:06 -05:00
parent bf2251bbc4
commit fd49f47ede
3 changed files with 0 additions and 10 deletions

View File

@@ -568,9 +568,6 @@ export function uiBackground(context) {
d3_select(document)
.call(keybinding);
context.surface().on('mousedown.background-outside', hide);
context.container().on('mousedown.background-outside', hide);
}
return background;

View File

@@ -439,9 +439,6 @@ export function uiHelp(context) {
d3_select(document)
.call(keybinding);
context.surface().on('mousedown.help-outside', hide);
context.container().on('mousedown.help-outside', hide);
}
return help;

View File

@@ -492,11 +492,7 @@ export function uiMapData(context) {
d3_select(document)
.call(keybinding);
context.surface().on('mousedown.map_data-outside', hidePanel);
context.container().on('mousedown.map_data-outside', hidePanel);
}
return map_data;
}