From 199d0d9d95f4d24a11eda83244f91cda28d911a4 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Sat, 13 Jul 2013 10:27:58 +0200 Subject: Paint: fixed pipette tool for floodfill thanks, Kartik, for your help! --- history.txt | 4 ++++ 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 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; -- cgit v1.3.1