summaryrefslogtreecommitdiff
path: root/paint.js
diff options
context:
space:
mode:
authorGubolin <gubolin@fantasymail.de>2014-12-07 11:54:58 +0100
committerGubolin <gubolin@fantasymail.de>2014-12-07 11:54:58 +0100
commit54d0194cd575724ff69526e707a02c5a0e3f2b73 (patch)
treef6adf6913f449017590fe5770595c37b9ba25d0d /paint.js
parent4013e79a7421b9e6baacc8e34ae7a8ef188b38cb (diff)
parent8338384bf572beb06ebd12a0c9af18029e99262a (diff)
downloadsnap-issue_405.tar.gz
snap-issue_405.zip
resolve merge conflictissue_405
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);