diff options
| author | Gubolin <gubolin@fantasymail.de> | 2015-01-03 11:24:35 +0100 |
|---|---|---|
| committer | Gubolin <gubolin@fantasymail.de> | 2015-01-03 11:24:35 +0100 |
| commit | 4bb6d3c0e3af8c379d6a63934110cde1a8e31449 (patch) | |
| tree | 52b287d291b69d87ad72db2ea81fae8ba5ef0aaa /paint.js | |
| parent | 618e034eb86b3ad7e7f4955b900862a27a0ce44c (diff) | |
| parent | 0a239b703c8c7fde5540ce63c4236522a22ee049 (diff) | |
| download | snap-4bb6d3c0e3af8c379d6a63934110cde1a8e31449.tar.gz snap-4bb6d3c0e3af8c379d6a63934110cde1a8e31449.zip | |
merge upstream
Diffstat (limited to 'paint.js')
| -rw-r--r-- | paint.js | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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); |
