Skip to content

Commit

Permalink
Add comment about negative time
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarShehata authored Jan 22, 2019
1 parent 8893af2 commit efb44e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Specs/Scene/SceneSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ defineSuite([

var spyListener = jasmine.createSpy('listener');
s.camera.moveEnd.addEventListener(spyListener);

// We use negative time here to ensure the event runs on the next frame.
s.cameraEventWaitTime = -1.0;
s.camera.moveLeft();
// The first render will trigger the moveStart event.
Expand Down

0 comments on commit efb44e0

Please sign in to comment.