Add decorator preview

This commit is contained in:
Misode
2020-12-06 02:34:34 +01:00
parent a84822b1cc
commit 88bf86de3c
5 changed files with 213 additions and 1 deletions

View File

@@ -25,6 +25,9 @@ export const suffixInjector: Hook<[Mounter], string | void> = {
if (Previews.noise_settings.active(path)) {
return setPreview(Previews.noise_settings, path, mounter)
}
if (Previews.decorator.active(path)) {
return setPreview(Previews.decorator, path, mounter)
}
},
string({}, path, mounter) {