Skip to content

Commit

Permalink
added custom keybinds from spelunker, cleaned up viewer creation (cus…
Browse files Browse the repository at this point in the history
…tom changes no longer needed with new neuroglancer)
  • Loading branch information
chrisj committed Jul 18, 2023
1 parent 8e28ee6 commit abc7eb6
Show file tree
Hide file tree
Showing 5 changed files with 2,236 additions and 769 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/on_dev_branch_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Typecheck with TypeScript
run: npm run typecheck
- name: Build client bundles
run: node ./node_modules/neuroglancer/config/esbuild-cli.js --config=min --no-typecheck --define CONFIG=$(cat config/ng-extend.json | tr -d ' \t\n\r') --define STATE_SERVERS=$(cat config/state_servers.json | tr -d " \t\n\r")
run: node ./node_modules/neuroglancer/config/esbuild-cli.js --config=min --no-typecheck --define CONFIG=$(cat config/ng-extend.json | tr -d ' \t\n\r') --define STATE_SERVERS=$(cat config/state_servers.json | tr -d " \t\n\r") --define CUSTOM_BINDINGS=$(cat config/custom-keybinds.json | tr -d " \t\n\r")
- run: cp -r ./dist/min appengine/frontend/static/
- name: Get branch name (merge)
if: github.event_name != 'pull_request'
Expand Down
12 changes: 12 additions & 0 deletions config/custom-keybinds.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"keym": {
"layer": "segmentation",
"tool": "grapheneMergeSegments",
"provider": "graphene"
},
"keyc": {
"layer": "segmentation",
"tool": "grapheneMulticutSegments",
"provider": "graphene"
}
}
Loading

0 comments on commit abc7eb6

Please sign in to comment.