oh well, well ...
This commit is contained in:
parent
d6569f6ed3
commit
1aa27aeb42
5 changed files with 9 additions and 9 deletions
|
@ -21819,7 +21819,7 @@ zlib.js 2012 - imaya [ https://github.com/imaya/zlib.js ] The MIT License
|
||||||
|
|
||||||
var doNotModify = isTransparent || (isSinglePass && usedPixels[key]);
|
var doNotModify = isTransparent || (isSinglePass && usedPixels[key]);
|
||||||
if (doNotModify) {
|
if (doNotModify) {
|
||||||
color = pixelColor;
|
color = window.tinycolor(pixelColor);
|
||||||
} else {
|
} else {
|
||||||
var step = isSinglePass ? DEFAULT_STEP * 2 : DEFAULT_STEP;
|
var step = isSinglePass ? DEFAULT_STEP * 2 : DEFAULT_STEP;
|
||||||
if (isDarken) {
|
if (isDarken) {
|
||||||
|
@ -21827,11 +21827,11 @@ zlib.js 2012 - imaya [ https://github.com/imaya/zlib.js ] The MIT License
|
||||||
} else {
|
} else {
|
||||||
color = window.tinycolor.lighten(pixelColor, step);
|
color = window.tinycolor.lighten(pixelColor, step);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (color) {
|
if (color) {
|
||||||
usedPixels[key] = true;
|
usedPixels[key] = true;
|
||||||
this.superclass.applyToolAt.call(this, col, row, color.toRgbString(), frame, overlay, event);
|
this.superclass.applyToolAt.call(this, col, row, color.toRgbString(), frame, overlay, event);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
};
|
};
|
||||||
})();;(function() {
|
})();;(function() {
|
File diff suppressed because one or more lines are too long
2
js/piskel-packaged-min.js
vendored
2
js/piskel-packaged-min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -1,9 +1,9 @@
|
||||||
(function () {
|
(function () {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* See @Gruntfile.js => after build, -2014-07-14-04-22 is replaced by the build version
|
* See @Gruntfile.js => after build, -2014-07-14-04-44 is replaced by the build version
|
||||||
*/
|
*/
|
||||||
var version = '-2014-07-14-04-22';
|
var version = '-2014-07-14-04-44';
|
||||||
var versionHasNotBeenReplaced = version.indexOf('@@') === 0;
|
var versionHasNotBeenReplaced = version.indexOf('@@') === 0;
|
||||||
if (versionHasNotBeenReplaced) {
|
if (versionHasNotBeenReplaced) {
|
||||||
version = '';
|
version = '';
|
||||||
|
|
Loading…
Reference in a new issue