From c0b532da1ab0350dca0f0119e6936281136edc99 Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Thu, 8 Jun 2017 22:22:39 +0100 Subject: [PATCH] Round the render scroll value --- v3/src/checksum.js | 2 +- .../bitmaptext/dynamic/DynamicBitmapTextWebGLRenderer.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/v3/src/checksum.js b/v3/src/checksum.js index 5937e31c7..688f5d498 100644 --- a/v3/src/checksum.js +++ b/v3/src/checksum.js @@ -1,4 +1,4 @@ var CHECKSUM = { -build: '223be5e0-4c8d-11e7-aaca-8d9ec740a2ae' +build: '6f76aea0-4c90-11e7-93fa-3f889df529a8' }; module.exports = CHECKSUM; \ No newline at end of file diff --git a/v3/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextWebGLRenderer.js b/v3/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextWebGLRenderer.js index e9e4b8f01..83cff6193 100644 --- a/v3/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextWebGLRenderer.js +++ b/v3/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextWebGLRenderer.js @@ -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,