Skip to content

Commit

Permalink
Now background, map_data, help stay open when user clicks on map surface
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bhousel committed Nov 23, 2017
1 parent bf2251b commit fd49f47
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
3 changes: 0 additions & 3 deletions modules/ui/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 0 additions & 3 deletions modules/ui/help.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 0 additions & 4 deletions modules/ui/map_data.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit fd49f47

Please sign in to comment.