Skip to content

Commit

Permalink
[qa] code scrub
Browse files Browse the repository at this point in the history
  • Loading branch information
frankrousseau committed Jan 6, 2025
1 parent 8ba33cb commit bdd560b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/components/mixins/annotation.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const annotationMixin = {
notSave: false,
pencilColor: '#ff3860',
pencilWidth: 'big',
textColor: '#ff3860',
textColor: '#ff3860'
}
},

Expand Down Expand Up @@ -682,7 +682,6 @@ export const annotationMixin = {
this.fabricCanvas.freeDrawingBrush.width = strokeWidth
},


/*
* Reset pencil configuration to the last saved preferences.
*/
Expand Down
3 changes: 1 addition & 2 deletions src/components/previews/VideoProgress.vue
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,7 @@ export default {
frameNumberStyle() {
const frameHeight = 100
const height = frameHeight + 30
let frameWidth = 150
frameWidth = Math.ceil(frameHeight * this.videoRatio)
const frameWidth = Math.ceil(frameHeight * this.videoRatio)
const width = frameWidth + 10
const left = Math.min(
Math.max(this.frameNumberLeftPosition - frameWidth / 2, 0),
Expand Down

0 comments on commit bdd560b

Please sign in to comment.