Round the render scroll value

This commit is contained in:
Richard Davey 2017-06-08 22:22:39 +01:00
parent e02402b89b
commit c0b532da1a
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
var CHECKSUM = {
build: '223be5e0-4c8d-11e7-aaca-8d9ec740a2ae'
build: '6f76aea0-4c90-11e7-93fa-3f889df529a8'
};
module.exports = CHECKSUM;

View file

@ -148,8 +148,8 @@ var DynamicBitmapTextWebGLRenderer = function (renderer, gameObject, interpolati
rotation = output.rotation;
}
x -= gameObject.scrollX;
y -= gameObject.scrollY;
x -= gameObject.scrollX | 0;
y -= gameObject.scrollY | 0;
tempMatrixChar.applyITRS(
x, y,