Update src/extensions/scratch3_video_sensing/library.js

Co-Authored-By: Karishma Chadha <kchadha@media.mit.edu>
This commit is contained in:
Paul Kaplan 2019-10-17 11:01:22 -04:00 committed by GitHub
parent 69f30a4fb5
commit b13a40fb2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -290,7 +290,7 @@ class VideoMotion {
} = this; } = this;
// The public APIs for Renderer#isTouching manage keeping the matrix and // The public APIs for Renderer#isTouching manage keeping the matrix and
// silhouette up-to-date, which is needed for drawable#isTouching to work // silhouette up-to-date, which is needed for drawable#isTouching to work (used below)
drawable.updateMatrix(); drawable.updateMatrix();
if (drawable.skin) drawable.skin.updateSilhouette(); if (drawable.skin) drawable.skin.updateSilhouette();