Skip to content

Commit

Permalink
Test drawings with multiple frames
Browse files Browse the repository at this point in the history
  • Loading branch information
eatyourgreens committed May 16, 2024
1 parent 20dc843 commit 750060f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ describe('Model > DrawingAnnotation', function () {
})
const point2 = pointTool.createMark({
x: 150,
y: 200
y: 200,
frame: 1
})
const questionTask = pointTool.tasks[0]
point1.addAnnotation(questionTask, 0)
Expand Down Expand Up @@ -181,7 +182,7 @@ describe('Model > DrawingAnnotation', function () {
}
const point2Snapshot = {
details: [{ task: 'T0.0.0' }],
frame: 0,
frame: 1,
toolIndex: 0,
toolType: 'point',
x: 150,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ describe('Model > TranscriptionAnnotation', function () {
x1: 150,
x2: 175,
y1: 200,
y2: 238
y2: 238,
frame: 1
})
const textTask = transcriptionLineTool.tasks[0]
transcriptionLine1.addAnnotation(textTask, 'foo')
Expand Down Expand Up @@ -137,7 +138,7 @@ describe('Model > TranscriptionAnnotation', function () {
}
const transcriptionLine2Snapshot = {
details: [{ task: 'T0.0.0' }],
frame: 0,
frame: 1,
toolIndex: 0,
toolType: 'transcriptionLine',
x1: 150,
Expand Down

0 comments on commit 750060f

Please sign in to comment.