mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-22 22:12:28 -05:00
Add updateMatrix to fake drawable test
This commit is contained in:
parent
3cf45f4e07
commit
69f30a4fb5
1 changed files with 2 additions and 0 deletions
|
@ -87,6 +87,8 @@ const isNearAngle = (actual, expect, optMargin = 10) => (
|
|||
// A fake scratch-render drawable that will be used by VideoMotion to restrain
|
||||
// the area considered for motion detection in VideoMotion.getLocalMotion
|
||||
const fakeDrawable = {
|
||||
updateMatrix () {}, // no-op, since isTouching always returns true
|
||||
|
||||
getFastBounds () {
|
||||
return {
|
||||
left: -120,
|
||||
|
|
Loading…
Reference in a new issue