diff options
| author | jmoenig <jens@moenig.org> | 2014-02-04 15:29:14 +0100 |
|---|---|---|
| committer | jmoenig <jens@moenig.org> | 2014-02-04 15:29:14 +0100 |
| commit | 1fb0b7799834280a759eb238b8d138b60223b1c2 (patch) | |
| tree | 0a0661f3dc4d8eeaeef5e941d4ca8ef156461c1c /gui.js | |
| parent | 9be9d3da11461f218108eb3375875e6363208a7b (diff) | |
| download | snap-byow-1fb0b7799834280a759eb238b8d138b60223b1c2.tar.gz snap-byow-1fb0b7799834280a759eb238b8d138b60223b1c2.zip | |
Flat line end option in the settings menu, saved with the project
Diffstat (limited to 'gui.js')
| -rw-r--r-- | gui.js | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -2212,6 +2212,16 @@ IDE_Morph.prototype.settingsMenu = function () { 'check for smooth, predictable\nanimations across computers' ); addPreference( + 'Flat line ends', + function () { + SpriteMorph.prototype.useFlatLineEnds = + !SpriteMorph.prototype.useFlatLineEnds; + }, + SpriteMorph.prototype.useFlatLineEnds, + 'uncheck for round ends of lines', + 'check for flat ends of lines' + ); + addPreference( 'Codification support', function () { StageMorph.prototype.enableCodeMapping = @@ -2689,6 +2699,7 @@ IDE_Morph.prototype.newProject = function () { StageMorph.prototype.codeMappings = {}; StageMorph.prototype.codeHeaders = {}; StageMorph.prototype.enableCodeMapping = false; + SpriteMorph.prototype.useFlatLineEnds = false; this.setProjectName(''); this.projectNotes = ''; this.createStage(); |
