kopia lustrzana https://github.com/backface/turtlestitch
added 'volume' and 'balance' selectors to the OF block
rodzic
3adfec9bed
commit
12c4a994fa
|
|
@ -61,6 +61,7 @@
|
|||
* Objects, Store: renamed "pan left/right" to "balance"
|
||||
* updated German translation
|
||||
* moved "stage width" and "stage height" into attribute menu of the OF block for the stage
|
||||
* added 'volume' and 'balance' selectors to the OF block
|
||||
|
||||
### 2019-04-03
|
||||
* Objects, Threads: Safari compatibility tweaks (only use StereoPanner if available)
|
||||
|
|
|
|||
|
|
@ -8839,12 +8839,16 @@ InputSlotMorph.prototype.attributesMenu = function () {
|
|||
'direction' : ['direction'],
|
||||
'costume #' : ['costume #'],
|
||||
'costume name' : ['costume name'],
|
||||
'size' : ['size']
|
||||
'size' : ['size'],
|
||||
'volume' : ['volume'],
|
||||
'balance' : ['balance']
|
||||
};
|
||||
} else { // the stage
|
||||
dict = {
|
||||
'costume #' : ['costume #'],
|
||||
'costume name' : ['costume name'],
|
||||
'volume' : ['volume'],
|
||||
'balance' : ['balance'],
|
||||
'width': ['width'],
|
||||
'height': ['height']
|
||||
};
|
||||
|
|
|
|||
|
|
@ -3611,6 +3611,10 @@ Process.prototype.reportAttributeOf = function (attribute, name) {
|
|||
: localize('Empty');
|
||||
case 'size':
|
||||
return thatObj.getScale ? thatObj.getScale() : '';
|
||||
case 'volume':
|
||||
return thatObj.getVolume();
|
||||
case 'balance':
|
||||
return thatObj.getPan();
|
||||
case 'width':
|
||||
this.assertType(thatObj, 'stage');
|
||||
return thatObj.dimensions.x;
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue