mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Prebuilt module for commit af509f6431
This commit is contained in:
parent
89ced3a010
commit
5d85230741
6 changed files with 20 additions and 20 deletions
6
dist/docs/assets/js/paper.js
vendored
6
dist/docs/assets/js/paper.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Sat May 23 14:54:51 2020 +0200
|
||||
* Date: Sat May 23 15:41:18 2020 +0200
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -4686,7 +4686,7 @@ new function() {
|
|||
}
|
||||
|
||||
var blendMode = this._blendMode,
|
||||
opacity = this._opacity,
|
||||
opacity = Numerical.clamp(this._opacity, 0, 1),
|
||||
normalBlend = blendMode === 'normal',
|
||||
nativeBlend = BlendMode.nativeModes[blendMode],
|
||||
direct = normalBlend && opacity === 1
|
||||
|
@ -5725,7 +5725,7 @@ var Raster = Item.extend({
|
|||
_draw: function(ctx, param, viewMatrix) {
|
||||
var element = this.getElement();
|
||||
if (element && element.width > 0 && element.height > 0) {
|
||||
ctx.globalAlpha = this._opacity;
|
||||
ctx.globalAlpha = Numerical.clamp(this._opacity, 0, 1);
|
||||
|
||||
this._setStyles(ctx, param, viewMatrix);
|
||||
|
||||
|
|
6
dist/paper-core.js
vendored
6
dist/paper-core.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Sat May 23 14:54:51 2020 +0200
|
||||
* Date: Sat May 23 15:41:18 2020 +0200
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -4683,7 +4683,7 @@ new function() {
|
|||
}
|
||||
|
||||
var blendMode = this._blendMode,
|
||||
opacity = this._opacity,
|
||||
opacity = Numerical.clamp(this._opacity, 0, 1),
|
||||
normalBlend = blendMode === 'normal',
|
||||
nativeBlend = BlendMode.nativeModes[blendMode],
|
||||
direct = normalBlend && opacity === 1
|
||||
|
@ -5722,7 +5722,7 @@ var Raster = Item.extend({
|
|||
_draw: function(ctx, param, viewMatrix) {
|
||||
var element = this.getElement();
|
||||
if (element && element.width > 0 && element.height > 0) {
|
||||
ctx.globalAlpha = this._opacity;
|
||||
ctx.globalAlpha = Numerical.clamp(this._opacity, 0, 1);
|
||||
|
||||
this._setStyles(ctx, param, viewMatrix);
|
||||
|
||||
|
|
10
dist/paper-core.min.js
vendored
10
dist/paper-core.min.js
vendored
File diff suppressed because one or more lines are too long
6
dist/paper-full.js
vendored
6
dist/paper-full.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Sat May 23 14:54:51 2020 +0200
|
||||
* Date: Sat May 23 15:41:18 2020 +0200
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -4686,7 +4686,7 @@ new function() {
|
|||
}
|
||||
|
||||
var blendMode = this._blendMode,
|
||||
opacity = this._opacity,
|
||||
opacity = Numerical.clamp(this._opacity, 0, 1),
|
||||
normalBlend = blendMode === 'normal',
|
||||
nativeBlend = BlendMode.nativeModes[blendMode],
|
||||
direct = normalBlend && opacity === 1
|
||||
|
@ -5725,7 +5725,7 @@ var Raster = Item.extend({
|
|||
_draw: function(ctx, param, viewMatrix) {
|
||||
var element = this.getElement();
|
||||
if (element && element.width > 0 && element.height > 0) {
|
||||
ctx.globalAlpha = this._opacity;
|
||||
ctx.globalAlpha = Numerical.clamp(this._opacity, 0, 1);
|
||||
|
||||
this._setStyles(ctx, param, viewMatrix);
|
||||
|
||||
|
|
10
dist/paper-full.min.js
vendored
10
dist/paper-full.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/paper.d.ts
vendored
2
dist/paper.d.ts
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Sat May 23 14:54:51 2020 +0200
|
||||
* Date: Sat May 23 15:41:18 2020 +0200
|
||||
*
|
||||
* This is an auto-generated type definition.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue