From 2fafe26f74f342388b97960e7a58e3f45d8d961f Mon Sep 17 00:00:00 2001 From: Ananya Sen Date: Fri, 20 Apr 2012 13:07:26 -0700 Subject: set editor background color as per the selected theme Signed-off-by: Ananya Sen --- js/stage/stage-view.reel/stage-view.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'js/stage/stage-view.reel/stage-view.js') diff --git a/js/stage/stage-view.reel/stage-view.js b/js/stage/stage-view.reel/stage-view.js index 53eff90e..53c6125b 100755 --- a/js/stage/stage-view.reel/stage-view.js +++ b/js/stage/stage-view.reel/stage-view.js @@ -201,5 +201,11 @@ exports.StageView = Montage.create(Component, { this.application.ninja.toolsSplitter.restore(); this.application.ninja.optionsSplitter.restore(); } + }, + + applyTheme:{ + value:function(themeClass){ + this.element.className = "codeViewContainer "+themeClass; + } } }); \ No newline at end of file -- cgit v1.2.3