Skip to content

Commit

Permalink
rename mousemove to pointermove
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanzong committed Jan 23, 2024
1 parent 3568751 commit df95e82
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/compile/selection/point.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -425,14 +425,14 @@ describe('Animated Selection', () => {
{
events: {type: 'timer', throttle: 16.666666666666668},
update:
'true ? (anim_clock + (now() - last_tick_at) > max_range_extent ? 0 : anim_clock + (now() - last_tick_at)) : anim_clock'
'is_playing ? (anim_clock + (now() - last_tick_at) > max_range_extent ? 0 : anim_clock + (now() - last_tick_at)) : anim_clock'
}
]
},
{
name: 'last_tick_at',
init: 'now()',
on: [{events: [{signal: 'anim_clock'}], update: 'now()'}]
on: [{events: [{signal: 'anim_clock'}, {signal: 'is_playing'}], update: 'now()'}]
}
])
);
Expand Down Expand Up @@ -481,7 +481,7 @@ describe('Animated Selection', () => {
{
name: 'unit',
value: {},
on: [{events: 'mousemove', update: 'isTuple(group()) ? group() : unit'}]
on: [{events: 'pointermove', update: 'isTuple(group()) ? group() : unit'}]
}
])
);
Expand Down

0 comments on commit df95e82

Please sign in to comment.