kopia lustrzana https://github.com/backface/turtlestitch
Paint: fixed pipette tool for floodfill
thanks, Kartik, for your help!pull/3/merge
rodzic
1a8b2658db
commit
199d0d9d95
|
@ -1810,3 +1810,7 @@ ______
|
|||
------
|
||||
* Blocks: Pipette symbol
|
||||
* Paint: Pipette tool
|
||||
|
||||
130713
|
||||
------
|
||||
* Paint: fixed pipette tool for floodfill
|
||||
|
|
4
paint.js
4
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;
|
||||
|
|
Ładowanie…
Reference in New Issue