pstream is dead; long live pstream taciturnaxolotl.github.io/pstream-ng/
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: add minimums & maximums for other settings

qtchaos 7c5c5daf 35c9c85b

+8 -2
+8 -2
src/stores/subtitles/index.ts
··· 67 67 updateStyling(newStyling) { 68 68 set((s) => { 69 69 if (newStyling.backgroundOpacity !== undefined) 70 - s.styling.backgroundOpacity = newStyling.backgroundOpacity; 70 + s.styling.backgroundOpacity = Math.min( 71 + 1, 72 + Math.max(0, newStyling.backgroundOpacity), 73 + ); 71 74 if (newStyling.backgroundBlur !== undefined) 72 - s.styling.backgroundBlur = Math.min(1, newStyling.backgroundBlur); 75 + s.styling.backgroundBlur = Math.min( 76 + 1, 77 + Math.max(0, newStyling.backgroundBlur), 78 + ); 73 79 if (newStyling.color !== undefined) 74 80 s.styling.color = newStyling.color.toLowerCase(); 75 81 if (newStyling.size !== undefined)