Use new updateCPURenderAttributes in video sensing

This commit is contained in:
apple502j 2020-08-01 00:09:53 +09:00
parent 5f10125643
commit 9bed114e48
2 changed files with 2 additions and 3 deletions

View file

@ -87,7 +87,7 @@ 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
updateCPURenderAttributes () {}, // no-op, since isTouching always returns true
getFastBounds () {
return {