summaryrefslogtreecommitdiff
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
parent1a8b2658dbc30fd58daa7d1e20da18df4ed545f3 (diff)
downloadsnap-byow-199d0d9d95f4d24a11eda83244f91cda28d911a4.tar.gz
snap-byow-199d0d9d95f4d24a11eda83244f91cda28d911a4.zip
Paint: fixed pipette tool for floodfill
thanks, Kartik, for your help!
-rwxr-xr-xhistory.txt4
-rw-r--r--paint.js4
2 files changed, 6 insertions, 2 deletions
diff --git a/history.txt b/history.txt
index f9b8da1..2389dc2 100755
--- a/history.txt
+++ b/history.txt
@@ -1810,3 +1810,7 @@ ______
------
* Blocks: Pipette symbol
* Paint: Pipette tool
+
+130713
+------
+* Paint: fixed pipette tool for floodfill
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;