Paint: fixed pipette tool for floodfill

thanks, Kartik, for your help!
pull/3/merge
jmoenig 2013-07-13 10:27:58 +02:00
rodzic 1a8b2658db
commit 199d0d9d95
2 zmienionych plików z 6 dodań i 2 usunięć

Wyświetl plik

@ -1810,3 +1810,7 @@ ______
------
* Blocks: Pipette symbol
* Paint: Pipette tool
130713
------
* Paint: fixed pipette tool for floodfill

Wyświetl plik

@ -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;