add/make visible weakly matched presets

This commit is contained in:
Max Grossman
2018-12-14 15:42:25 -05:00
parent f627f1e659
commit d87b1822f7
3 changed files with 18 additions and 6 deletions
+2 -2
View File
@@ -503,8 +503,8 @@ export function coreContext() {
features.init();
if (utilStringQs(window.location.hash).presets) {
var external = utilStringQs(window.location.hash).presets;
presets.fromExternal(external, function(externalPresets){
presets = externalPresets; // default + external presets...
presets.fromExternal(external, function(externalPresets) {
context.presets = function() { return externalPresets; }; // default + external presets...
areaKeys = presets.areaKeys();
});
} else {