pull/89/head
Bernat Romagosa 2019-02-21 07:41:08 +01:00 zatwierdzone przez GitHub
rodzic 7287a3c2fa
commit dfd9b78f48
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -495,7 +495,7 @@ PaintEditorMorph.prototype.getUserColor = function () {
var myself = this,
world = this.world(),
hand = world.hand,
shifted = this.paper.isShiftPressed();
shifted = this.paper.isShiftPressed();
posInDocument = getDocumentPositionOf(world.worldCanvas),
mouseMoveBak = hand.processMouseMove,
mouseDownBak = hand.processMouseDown,
@ -514,7 +514,7 @@ PaintEditorMorph.prototype.getUserColor = function () {
return;
}
color.a = 255;
myself.propertiesControls.colorpicker.action(color,shifted);
myself.propertiesControls.colorpicker.action(color, shifted);
};
hand.processMouseDown = nop;