kopia lustrzana https://github.com/backface/turtlestitch
added "APL scalars" option to settings blocks
rodzic
87096d6d39
commit
49a7575697
|
@ -8,7 +8,7 @@
|
|||
<script src="src/symbols.js?version=2020-06-17"></script>
|
||||
<script src="src/widgets.js?version=2020-05-06"></script>
|
||||
<script src="src/blocks.js?version=2020-06-24"></script>
|
||||
<script src="src/threads.js?version=2020-06-22"></script>
|
||||
<script src="src/threads.js?version=2020-06-24"></script>
|
||||
<script src="src/objects.js?version=2020-06-20"></script>
|
||||
<script src="src/gui.js?version=2020-06-22"></script>
|
||||
<script src="src/paint.js?version=2020-05-17"></script>
|
||||
|
|
|
@ -1431,7 +1431,8 @@ SyntaxElementMorph.prototype.labelPart = function (spec) {
|
|||
'flat line ends' : ['flat line ends'],
|
||||
'log pen vectors' : ['log pen vectors'],
|
||||
'video capture' : ['video capture'],
|
||||
'mirror video' : ['mirror video']
|
||||
'mirror video' : ['mirror video'],
|
||||
'§_APL scalars' : ['APL scalars']
|
||||
},
|
||||
true
|
||||
);
|
||||
|
|
|
@ -2297,6 +2297,9 @@ Process.prototype.doSetGlobalFlag = function (name, bool) {
|
|||
case 'mirror video':
|
||||
stage.mirrorVideo = bool;
|
||||
break;
|
||||
case 'APL scalars':
|
||||
this.toggleAPLscalars();
|
||||
break;
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -2318,6 +2321,8 @@ Process.prototype.reportGlobalFlag = function (name) {
|
|||
.data[3] > 0;
|
||||
case 'mirror video':
|
||||
return stage.mirrorVideo;
|
||||
case 'APL scalars':
|
||||
return Process.prototype.enableAPLscalars;
|
||||
default:
|
||||
return '';
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue