summaryrefslogtreecommitdiff
path: root/paint.js
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2013-07-13 10:27:58 +0200
committerjmoenig <jens@moenig.org>2013-07-13 10:27:58 +0200
commit199d0d9d95f4d24a11eda83244f91cda28d911a4 (patch)
treea0a72dee2596887eb8f4d2cc62d1e447deb7f2f8 /paint.js
parent1a8b2658dbc30fd58daa7d1e20da18df4ed545f3 (diff)
downloadsnap-byow-199d0d9d95f4d24a11eda83244f91cda28d911a4.tar.gz
snap-byow-199d0d9d95f4d24a11eda83244f91cda28d911a4.zip
Paint: fixed pipette tool for floodfill
thanks, Kartik, for your help!
Diffstat (limited to 'paint.js')
-rw-r--r--paint.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/paint.js b/paint.js
index 97236af..9841557 100644
--- a/paint.js
+++ b/paint.js
@@ -62,7 +62,7 @@
// Global stuff ////////////////////////////////////////////////////////
-modules.paint = '2013-July-12';
+modules.paint = '2013-July-13';
// Declarations
@@ -424,8 +424,8 @@ PaintEditorMorph.prototype.getUserColor = function () {
event.pageY - posInDocument.y
));
color = world.getGlobalPixelColor(hand.position());
+ color.a = 255;
myself.propertiesControls.colorpicker.action(color);
- myself.paper.settings.primarycolor = color;
};
hand.processMouseDown = nop;