kopia lustrzana https://github.com/backface/turtlestitch
Docs, symbols
rodzic
6d9ce7b61c
commit
f5fca54187
7
paint.js
7
paint.js
|
@ -53,6 +53,7 @@
|
||||||
Jan 08 - mouse leave dragging fix (Kartik)
|
Jan 08 - mouse leave dragging fix (Kartik)
|
||||||
Feb 11 - dynamically adjust to stage dimensions (Jens)
|
Feb 11 - dynamically adjust to stage dimensions (Jens)
|
||||||
Apr 30 - localizations (Manuel)
|
Apr 30 - localizations (Manuel)
|
||||||
|
June 3 - transformations (Kartik)
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -66,7 +67,7 @@
|
||||||
|
|
||||||
// Global stuff ////////////////////////////////////////////////////////
|
// Global stuff ////////////////////////////////////////////////////////
|
||||||
|
|
||||||
modules.paint = '2014-May-02';
|
modules.paint = '2014-June-3';
|
||||||
|
|
||||||
// Declarations
|
// Declarations
|
||||||
|
|
||||||
|
@ -233,11 +234,11 @@ PaintEditorMorph.prototype.buildScaleBox = function () {
|
||||||
function () {paper.scale(-0.05, -0.05); }
|
function () {paper.scale(-0.05, -0.05); }
|
||||||
));
|
));
|
||||||
this.scaleBox.add(this.pushButton(
|
this.scaleBox.add(this.pushButton(
|
||||||
"flipX",
|
"flip ↔",
|
||||||
function () {paper.scale(-2, 0); }
|
function () {paper.scale(-2, 0); }
|
||||||
));
|
));
|
||||||
this.scaleBox.add(this.pushButton(
|
this.scaleBox.add(this.pushButton(
|
||||||
"flipY",
|
"flip ↕",
|
||||||
function () {paper.scale(0, -2); }
|
function () {paper.scale(0, -2); }
|
||||||
));
|
));
|
||||||
this.scaleBox.fixLayout();
|
this.scaleBox.fixLayout();
|
||||||
|
|
Ładowanie…
Reference in New Issue