« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things/album.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/things/album.js')
-rw-r--r--src/data/things/album.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/data/things/album.js b/src/data/things/album.js
index 31d94ef1..c9999f7c 100644
--- a/src/data/things/album.js
+++ b/src/data/things/album.js
@@ -268,6 +268,11 @@ export class Album extends Thing {
 
     trackDimensions: dimensions(),
 
+    wallpaperBrightness: {
+      flags: {update: true, expose: true},
+      update: {validate: isNumber},
+    },
+
     wallpaperArtwork: [
       exitWithoutDependency('hasWallpaperArt', {
         value: input.value(null),
@@ -667,6 +672,8 @@ export class Album extends Thing {
           }),
       },
 
+      'Wallpaper Brightness': {property: 'wallpaperBrightness'},
+
       'Wallpaper Artwork': {
         property: 'wallpaperArtwork',
         transform: