vendor/assets/javascripts/greensock/plugins/PixiPlugin.js in greensock-rails-1.20.3.0 vs vendor/assets/javascripts/greensock/plugins/PixiPlugin.js in greensock-rails-1.20.4.0

- old
+ new

@@ -1,11 +1,11 @@ /*! - * VERSION: 0.2.0 - * DATE: 2017-07-13 + * VERSION: 0.2.1 + * DATE: 2018-02-15 * UPDATES AND DOCS AT: http://greensock.com * - * @license Copyright (c) 2008-2017, GreenSock. All rights reserved. + * @license Copyright (c) 2008-2018, GreenSock. All rights reserved. * PixiPlugin is subject to the terms at http://greensock.com/standard-license or for * Club GreenSock members, the software agreement that was issued with your membership. * * @author: Jack Doyle, jack@greensock.com */ @@ -226,10 +226,13 @@ var filter = _getFilter(t, "ColorMatrixFilter"), cache = t._gsColorMatrixFilter = t._gsColorMatrixFilter || {contrast:1, saturation:1, colorizeAmount:0, colorize:"rgb(255,255,255)", hue:0, brightness:1}, combine = v.combineCMF && !("colorMatrixFilter" in v && !v.colorMatrixFilter), i, matrix, startMatrix; startMatrix = filter.matrix; + if (v.resolution) { + filter.resolution = v.resolution; + } if (v.matrix && v.matrix.length === startMatrix.length) { matrix = v.matrix; if (cache.contrast !== 1) { _addColorMatrixFilterCacheTween("contrast", pg, cache, _CMFdefaults); } @@ -383,10 +386,10 @@ var PixiPlugin = _gsScope._gsDefine.plugin({ propName: "pixi", priority: 0, API: 2, global: true, - version: "0.2.0", + version: "0.2.1", init: function (target, values, tween, index) { if (!target instanceof _gsScope.PIXI.DisplayObject) { return false; } \ No newline at end of file