diff --git a/src/components/mixins/annotation.js b/src/components/mixins/annotation.js index 3648e88f3..82b0824f4 100644 --- a/src/components/mixins/annotation.js +++ b/src/components/mixins/annotation.js @@ -45,7 +45,7 @@ export const annotationMixin = { notSave: false, pencilColor: '#ff3860', pencilWidth: 'big', - textColor: '#ff3860', + textColor: '#ff3860' } }, @@ -682,7 +682,6 @@ export const annotationMixin = { this.fabricCanvas.freeDrawingBrush.width = strokeWidth }, - /* * Reset pencil configuration to the last saved preferences. */ diff --git a/src/components/previews/VideoProgress.vue b/src/components/previews/VideoProgress.vue index 41cc9bca7..30da632f9 100644 --- a/src/components/previews/VideoProgress.vue +++ b/src/components/previews/VideoProgress.vue @@ -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),