Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
et_22
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
et_22
Commits
562f89b9
Commit
562f89b9
authored
Feb 26, 2021
by
liujiaxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: to be test
parent
603a02e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lrc-editor.component.ts
form/src/app/common/lrc-editor/lrc-editor.component.ts
+2
-2
No files found.
form/src/app/common/lrc-editor/lrc-editor.component.ts
View file @
562f89b9
...
...
@@ -353,7 +353,7 @@ export class LrcEditorComponent implements OnInit, OnChanges, OnDestroy, AfterVi
}
calcPlayBarPositionByTime
(
time
,
returnVal
=
false
)
{
const
x
=
this
.
getXPositionByTime
(
time
)
console
.
log
(
x
);
//
console.log(x);
const
pos
=
`translateX(
${
x
}
px)`
;
if
(
returnVal
)
{
return
pos
;
...
...
@@ -480,7 +480,7 @@ export class LrcEditorComponent implements OnInit, OnChanges, OnDestroy, AfterVi
}
onAudioUploaded
(
evt
)
{
console
.
log
(
evt
);
//
console.log(evt);
this
.
LRCData
.
audio_url
=
evt
.
url
;
this
.
LRCData
.
lyrics
.
length
=
0
;
this
.
timePointData
.
length
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment