Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Knowledge Space WP Plugin
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
Service Desk
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alg
Knowledge Space WP Plugin
Commits
a211b317
"git@gitlab.ibr.cs.tu-bs.de:zrtp/libjitsi.git" did not exist on "e6e6ad73abc0f5a8b9b9ca81d22acbf36099afe6"
Commit
a211b317
authored
3 years ago
by
Maximilian Giller
Browse files
Options
Downloads
Patches
Plain Diff
Proper link highlighting
parent
7aaa85c8
No related branches found
No related tags found
No related merge requests found
Pipeline
#52750
passed
3 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
editor/js/state.js
+4
-2
4 additions, 2 deletions
editor/js/state.js
with
4 additions
and
2 deletions
editor/js/state.js
+
4
−
2
View file @
a211b317
...
@@ -310,9 +310,11 @@ export class State extends Tool {
...
@@ -310,9 +310,11 @@ export class State extends Tool {
isLinkHighlighted
(
link
)
{
isLinkHighlighted
(
link
)
{
return
(
return
(
this
.
selectedItem
===
link
||
this
.
selectedItem
===
link
||
// Single selected item
graph
.
isLinkOnNode
(
link
,
this
.
selectedItem
)
graph
.
isLinkOnNode
(
link
,
this
.
selectedItem
)
||
// Connected to selected node
this
.
selectedItems
.
has
(
link
)
// In collection of selected items
);
);
// Link is not highlighted, when a node is part of the collection, only for single selected nodes
}
}
setLabelVisibility
(
visibility
)
{
setLabelVisibility
(
visibility
)
{
...
...
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