kopia lustrzana https://github.com/backface/turtlestitch
when creating a new sprite only randomize color and direction when shift-clicking
rodzic
05aeeb3b79
commit
3ab922ea99
4
gui.js
4
gui.js
|
@ -75,7 +75,7 @@ isRetinaSupported, SliderMorph, Animation, BoxMorph, MediaRecorder*/
|
|||
|
||||
// Global stuff ////////////////////////////////////////////////////////
|
||||
|
||||
modules.gui = '2018-April-25';
|
||||
modules.gui = '2018-April-27';
|
||||
|
||||
// Declarations
|
||||
|
||||
|
@ -2293,7 +2293,7 @@ IDE_Morph.prototype.addNewSprite = function () {
|
|||
this.stage.add(sprite);
|
||||
|
||||
// randomize sprite properties
|
||||
if (this.world().currentKey !== 16) { // shift-click
|
||||
if (this.world().currentKey === 16) { // shift-click
|
||||
sprite.setHue(rnd.call(this, 0, 100));
|
||||
sprite.setBrightness(rnd.call(this, 50, 100));
|
||||
sprite.turn(rnd.call(this, 1, 360));
|
||||
|
|
|
@ -4092,3 +4092,7 @@ in development:
|
|||
* GUI: fixed rearranging sound icons in the jukebox
|
||||
* GUI: fixed scrolling for the jukebox (updating the sounds list version)
|
||||
* GUI: only randomize position when shift-clicking on new turtle-sprite button
|
||||
|
||||
180427
|
||||
------
|
||||
* GUI: when creating a new sprite only randomize color and direction when shift-clicking
|
||||
|
|
Ładowanie…
Reference in New Issue