diff options
author | Ananya Sen | 2012-04-20 13:07:26 -0700 |
---|---|---|
committer | Ananya Sen | 2012-04-20 13:07:26 -0700 |
commit | 2fafe26f74f342388b97960e7a58e3f45d8d961f (patch) | |
tree | 0d1d20e0f1ac8c44748d727e233b029c5335c0d0 /js/controllers | |
parent | 3bdd4919ee39759ae6f532d7f3494ca3d97b7255 (diff) | |
download | ninja-2fafe26f74f342388b97960e7a58e3f45d8d961f.tar.gz |
set editor background color as per the selected theme
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/controllers')
-rw-r--r-- | js/controllers/code-editor-controller.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/controllers/code-editor-controller.js b/js/controllers/code-editor-controller.js index 5dee4ab2..08320db7 100644 --- a/js/controllers/code-editor-controller.js +++ b/js/controllers/code-editor-controller.js | |||
@@ -218,6 +218,7 @@ var CodeEditorController = exports.CodeEditorController = Montage.create(Compone | |||
218 | handleThemeSelection:{ | 218 | handleThemeSelection:{ |
219 | value: function(){ | 219 | value: function(){ |
220 | this.application.ninja.documentController.activeDocument.editor.setOption("theme", this.editorTheme); | 220 | this.application.ninja.documentController.activeDocument.editor.setOption("theme", this.editorTheme); |
221 | this.application.ninja.stage.stageView.applyTheme("cm-s-"+this.editorTheme); | ||
221 | } | 222 | } |
222 | }, | 223 | }, |
223 | 224 | ||