Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
verona-modules-aspect
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Issue analytics
Insights
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
IQB
verona-modules-aspect
Commits
416b79d5
Commit
416b79d5
authored
3 months ago
by
jojohoch
Browse files
Options
Downloads
Patches
Plain Diff
[player] Change the duration of the highlighting of anchors
#733
parent
092ba7e9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#67828
failed
3 months ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/release-notes-player.md
+2
-0
2 additions, 0 deletions
docs/release-notes-player.md
projects/player/src/app/services/anchor.service.ts
+2
-1
2 additions, 1 deletion
projects/player/src/app/services/anchor.service.ts
with
4 additions
and
1 deletion
docs/release-notes-player.md
+
2
−
0
View file @
416b79d5
...
...
@@ -12,6 +12,8 @@ Player
### Fehlerbehebungen
-
Korrigiert die Validierung von Eingabefeldern mit eingestellter maximaler Länge
### Änderungen
-
Ändert die Dauer von Texthervorhebung auf 60 Sekunden
## 2.5.0
-
Unterstützung neuer Funktionen; siehe Allgemein
...
...
This diff is collapsed.
Click to expand it.
projects/player/src/app/services/anchor.service.ts
+
2
−
1
View file @
416b79d5
...
...
@@ -6,6 +6,7 @@ import { delay, of, Subscription } from 'rxjs';
})
export
class
AnchorService
{
private
activeAnchors
:
{
[
id
:
string
]:
Subscription
}
=
{};
private
duration
=
60000
;
toggleAnchor
(
anchorId
:
string
):
void
{
if
(
this
.
activeAnchors
[
anchorId
])
{
...
...
@@ -22,7 +23,7 @@ export class AnchorService {
private
addAnchor
(
anchorId
:
string
):
void
{
this
.
activeAnchors
[
anchorId
]
=
of
(
true
)
.
pipe
(
delay
(
15000
))
delay
(
this
.
duration
))
.
subscribe
(()
=>
{
this
.
removeAnchor
(
anchorId
);
});
...
...
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