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]);
|
||||
if (doNotModify) {
|
||||
color = pixelColor;
|
||||
color = window.tinycolor(pixelColor);
|
||||
} else {
|
||||
var step = isSinglePass ? DEFAULT_STEP * 2 : DEFAULT_STEP;
|
||||
if (isDarken) {
|
||||
|
@ -21827,10 +21827,10 @@ zlib.js 2012 - imaya [ https://github.com/imaya/zlib.js ] The MIT License
|
|||
} else {
|
||||
color = window.tinycolor.lighten(pixelColor, step);
|
||||
}
|
||||
if (color) {
|
||||
usedPixels[key] = true;
|
||||
this.superclass.applyToolAt.call(this, col, row, color.toRgbString(), frame, overlay, event);
|
||||
}
|
||||
}
|
||||
if (color) {
|
||||
usedPixels[key] = true;
|
||||
this.superclass.applyToolAt.call(this, col, row, color.toRgbString(), frame, overlay, event);
|
||||
}
|
||||
|
||||
};
|
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 () {
|
||||
|
||||
/**
|
||||
* 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;
|
||||
if (versionHasNotBeenReplaced) {
|
||||
version = '';
|
||||
|
|
Loading…
Reference in a new issue