2
1

2 Commits 3f957b9b82 ... 1085fa6fb9

Autor SHA1 Nachricht Datum
  Herby Vojčík 1085fa6fb9 0.13.4 vor 2 Jahren
  Herby Vojčík 7191297839 Use remembered theme. vor 2 Jahren
3 geänderte Dateien mit 5 neuen und 12 gelöschten Zeilen
  1. 1 1
      package.json
  2. 3 4
      src/Helios-Core.js
  3. 1 7
      src/Helios-Core.st

+ 1 - 1
package.json

@@ -2,7 +2,7 @@
   "name": "@ambers/helios",
   "title": "Helios IDE for Amber",
   "description": "Helios IDE for Amber Smalltalk",
-  "version": "0.13.3",
+  "version": "0.13.4",
   "homepage": "https://lolg.it/amber/helios",
   "repository": {
     "type": "git",

+ 3 - 4
src/Helios-Core.js

@@ -5978,18 +5978,17 @@ selector: "setupTheme",
 protocol: "private",
 //>>excludeStart("ide", pragmas.excludeIdeData);
 args: [],
-source: "setupTheme\x0a\x09\x22self \x0a\x09\x09setTheme: 'niflheim';\x0a\x09\x09setEditorTheme: 'niflheim'.\x22\x0a\x09\x09\x0a\x09self \x0a\x09\x09setTheme: 'default';\x0a\x09\x09setEditorTheme: 'default'.",
+source: "setupTheme\x0a\x09self setTheme: ('helios.theme' settingValueIfAbsent: 'default')",
 referencedClasses: [],
 //>>excludeEnd("ide");
 pragmas: [],
-messageSends: ["setTheme:", "setEditorTheme:"]
+messageSends: ["setTheme:", "settingValueIfAbsent:"]
 }, function ($methodClass){ return function (){
 var self=this,$self=this;
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 return $core.withContext(function($ctx1) {
 //>>excludeEnd("ctx");
-$self._setTheme_("default");
-$self._setEditorTheme_("default");
+$self._setTheme_("helios.theme"._settingValueIfAbsent_("default"));
 return self;
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 }, function($ctx1) {$ctx1.fill(self,"setupTheme",{})});

+ 1 - 7
src/Helios-Core.st

@@ -1386,13 +1386,7 @@ setupEvents
 !
 
 setupTheme
-	"self 
-		setTheme: 'niflheim';
-		setEditorTheme: 'niflheim'."
-		
-	self 
-		setTheme: 'default';
-		setEditorTheme: 'default'.
+	self setTheme: ('helios.theme' settingValueIfAbsent: 'default')
 ! !
 
 !HLManager methodsFor: 'rendering'!