Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
siibra-explorer
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xiao Gui
siibra-explorer
Commits
0b898f5c
Commit
0b898f5c
authored
5 years ago
by
Xiao Gui
Browse files
Options
Downloads
Patches
Plain Diff
chore, fixes #128
chore, fixes #126
parent
7e7c676d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/atlasViewer/atlasViewer.constantService.service.ts
+1
-1
1 addition, 1 deletion
src/atlasViewer/atlasViewer.constantService.service.ts
src/atlasViewer/atlasViewer.template.html
+8
-1
8 additions, 1 deletion
src/atlasViewer/atlasViewer.template.html
with
9 additions
and
2 deletions
src/atlasViewer/atlasViewer.constantService.service.ts
+
1
−
1
View file @
0b898f5c
...
...
@@ -162,7 +162,7 @@ Interactive atlas viewer requires **webgl2.0**, and the \`EXT_color_buffer_float
/**
* message when user on hover a segment or landmark
*/
public
toggleMessage
:
string
=
'
double click to toggle select
'
public
toggleMessage
:
string
=
'
double click to toggle select
, right click to search
'
/**
* observable for showing login modal
...
...
This diff is collapsed.
Click to expand it.
src/atlasViewer/atlasViewer.template.html
+
8
−
1
View file @
0b898f5c
...
...
@@ -24,6 +24,7 @@
</h5>
</div>
<div
body
>
<div
*ngIf=
"onhoverSegmentForFixed$ | async; let onhoverSegmentFixed"
(click)=
"searchRegion([onhoverSegmentFixed])"
...
...
@@ -35,12 +36,18 @@
</div>
<div
*ngIf=
"selectedRegions$ | async; let selectedRegions"
*ngIf=
"
(
selectedRegions$ | async
)?.length > 0 && (selectedRegions$ | async)
; let selectedRegions"
(click)=
"searchRegion(selectedRegions)"
class=
"ws-no-wrap text-left pe-all mt-0 btn btn-sm btn-secondary btn-block"
>
Search KG for {{ selectedRegions
&&
selectedRegions.length }} selected regions
</div>
<div
class=
"p-2 text-muted"
*ngIf=
"!(onhoverSegmentForFixed$ | async) && (selectedRegions$ | async)?.length === 0"
>
Right click on a parcellation region or select parcellation regions to search KG for associated datasets.
</div>
<ng-template
#noRegionSelected
>
<div
(click)=
"searchRegion()"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment