Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Molstar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michal Malý
Molstar
Commits
18be09e9
Commit
18be09e9
authored
1 year ago
by
Alexander Rose
Browse files
Options
Downloads
Patches
Plain Diff
fix .getAllLoci for representations with structure.child
parent
55e940e8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
src/mol-repr/structure/complex-representation.ts
+1
-1
1 addition, 1 deletion
src/mol-repr/structure/complex-representation.ts
src/mol-repr/structure/units-representation.ts
+1
-1
1 addition, 1 deletion
src/mol-repr/structure/units-representation.ts
with
3 additions
and
2 deletions
CHANGELOG.md
+
1
−
0
View file @
18be09e9
...
@@ -14,6 +14,7 @@ Note that since we don't clearly distinguish between a public and private interf
...
@@ -14,6 +14,7 @@ Note that since we don't clearly distinguish between a public and private interf
-
Add "Zoom All", "Orient Axes", "Reset Axes" buttons to the "Reset Camera" button
-
Add "Zoom All", "Orient Axes", "Reset Axes" buttons to the "Reset Camera" button
-
Improve trackball move-state handling when key bindings use modifiers
-
Improve trackball move-state handling when key bindings use modifiers
-
Fix rendering with very small viewport and SSAO enabled
-
Fix rendering with very small viewport and SSAO enabled
-
Fix
`.getAllLoci`
for structure representations with
`structure.child`
## [v3.33.0] - 2023-04-02
## [v3.33.0] - 2023-04-02
...
...
This diff is collapsed.
Click to expand it.
src/mol-repr/structure/complex-representation.ts
+
1
−
1
View file @
18be09e9
...
@@ -77,7 +77,7 @@ export function ComplexRepresentation<P extends StructureParams>(label: string,
...
@@ -77,7 +77,7 @@ export function ComplexRepresentation<P extends StructureParams>(label: string,
}
}
function
getAllLoci
()
{
function
getAllLoci
()
{
return
[
Structure
.
Loci
(
_structure
.
target
)];
return
[
Structure
.
Loci
(
_structure
.
child
??
_structure
)];
}
}
function
mark
(
loci
:
Loci
,
action
:
MarkerAction
)
{
function
mark
(
loci
:
Loci
,
action
:
MarkerAction
)
{
...
...
This diff is collapsed.
Click to expand it.
src/mol-repr/structure/units-representation.ts
+
1
−
1
View file @
18be09e9
...
@@ -195,7 +195,7 @@ export function UnitsRepresentation<P extends StructureParams>(label: string, ct
...
@@ -195,7 +195,7 @@ export function UnitsRepresentation<P extends StructureParams>(label: string, ct
}
}
function
getAllLoci
()
{
function
getAllLoci
()
{
return
[
Structure
.
Loci
(
_structure
.
target
)];
return
[
Structure
.
Loci
(
_structure
.
child
??
_structure
)];
}
}
function
mark
(
loci
:
Loci
,
action
:
MarkerAction
)
{
function
mark
(
loci
:
Loci
,
action
:
MarkerAction
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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