summaryrefslogtreecommitdiff
path: root/paint.js
diff options
context:
space:
mode:
authorGubolin <gubolin@fantasymail.de>2014-12-07 12:39:09 +0100
committerGubolin <gubolin@fantasymail.de>2014-12-07 12:39:09 +0100
commit3c6380dfa5866cf3425f44b1d1eb08ef5c3baf1b (patch)
tree8558ef0b3932b65fb5625006763f9060b6f05f77 /paint.js
parent295d1412f231d68c2669e61bfb7a1e1103b3b5ed (diff)
parent8338384bf572beb06ebd12a0c9af18029e99262a (diff)
downloadsnap-3c6380dfa5866cf3425f44b1d1eb08ef5c3baf1b.tar.gz
snap-3c6380dfa5866cf3425f44b1d1eb08ef5c3baf1b.zip
merge master
Diffstat (limited to 'paint.js')
-rw-r--r--paint.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/paint.js b/paint.js
index 7105b72..65ae1f6 100644
--- a/paint.js
+++ b/paint.js
@@ -49,13 +49,14 @@
May 14 - bugfixes, Snap integration (Jens)
May 16 - flat design adjustments (Jens)
July 12 - pipette tool, code formatting adjustments (Jens)
- September 16 - flood fill freeze fix (Kartik)
+ Sept 16 - flood fill freeze fix (Kartik)
Jan 08 - mouse leave dragging fix (Kartik)
Feb 11 - dynamically adjust to stage dimensions (Jens)
Apr 30 - localizations (Manuel)
June 3 - transformations (Kartik)
June 4 - tweaks (Jens)
-
+ Aug 24 - floodfill alpha-integer issue (Kartik)
+ Sep 29 - tweaks (Jens)
*/
/*global Point, Rectangle, DialogBoxMorph, fontHeight, AlignmentMorph,
@@ -68,7 +69,7 @@
// Global stuff ////////////////////////////////////////////////////////
-modules.paint = '2014-June-4';
+modules.paint = '2014-September-29';
// Declarations
@@ -757,7 +758,7 @@ PaintCanvasMorph.prototype.floodfill = function (sourcepoint) {
data[currentpoint * 4] = this.settings.primarycolor.r;
data[currentpoint * 4 + 1] = this.settings.primarycolor.g;
data[currentpoint * 4 + 2] = this.settings.primarycolor.b;
- data[currentpoint * 4 + 3] = this.settings.primarycolor.a;
+ data[currentpoint * 4 + 3] = this.settings.primarycolor.a * 255;
}
}
ctx.putImageData(img, 0, 0);