diff options
| author | jmoenig <jens@moenig.org> | 2013-07-13 10:27:58 +0200 |
|---|---|---|
| committer | jmoenig <jens@moenig.org> | 2013-07-13 10:27:58 +0200 |
| commit | 199d0d9d95f4d24a11eda83244f91cda28d911a4 (patch) | |
| tree | a0a72dee2596887eb8f4d2cc62d1e447deb7f2f8 | |
| parent | 1a8b2658dbc30fd58daa7d1e20da18df4ed545f3 (diff) | |
| download | snap-yow-199d0d9d95f4d24a11eda83244f91cda28d911a4.tar.gz snap-yow-199d0d9d95f4d24a11eda83244f91cda28d911a4.zip | |
Paint: fixed pipette tool for floodfill
thanks, Kartik, for your help!
| -rwxr-xr-x | history.txt | 4 | ||||
| -rw-r--r-- | paint.js | 4 |
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 @@ -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; |
