Skip to content

Commit

Permalink
Restore cli-path; lint action
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh committed Mar 31, 2024
1 parent 2b32834 commit a85b553
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:

- uses: ./.github/workflows/yarn

- uses: Maggi64/eslint-plus-action@master
- uses: bradennapier/eslint-plus-action@v3.4.2
with:
npmInstall: false
2 changes: 1 addition & 1 deletion src/renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ class Renderer extends EventEmitter<RendererEvents> {
renderProgress(progress: number, isPlaying?: boolean) {
if (isNaN(progress)) return
const percents = progress * 100
//this.canvasWrapper.style.clipPath = `polygon(${percents}% 0, 100% 0, 100% 100%, ${percents}% 100%)`
this.canvasWrapper.style.clipPath = `polygon(${percents}% 0, 100% 0, 100% 100%, ${percents}% 100%)`
this.progressWrapper.style.width = `${percents}%`
this.cursor.style.left = `${percents}%`
this.cursor.style.transform = `translateX(-${Math.round(percents) === 100 ? this.options.cursorWidth : 0}px)`
Expand Down

0 comments on commit a85b553

Please sign in to comment.