webamp 0.0.0-next-6d0ec37b → 0.0.0-next-bd2022a8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -532,11 +532,17 @@ export interface Options {
532
532
  url: string;
533
533
  name: string;
534
534
  }[];
535
+ /**
536
+ * Configure how the Winamp windows should be laid out on initial render.
537
+ */
535
538
  windowLayout?: WindowLayout;
536
539
  /**
537
540
  * Controls if "double size mode", where the fixed sized windows are rendered
538
541
  * at 2x, should be enabled
539
542
  *
543
+ * **Note:** In keeping with the original Winamp, double size mode does not
544
+ * apply to resizable windows like the equalizer or Milkdrop.
545
+ *
540
546
  * Default: `false`
541
547
  */
542
548
  enableDoubleSizeMode?: boolean;
@@ -621,6 +627,9 @@ export type WindowLayout = {
621
627
  closed?: boolean;
622
628
  };
623
629
  };
630
+ /**
631
+ * Offset from the top left corner of an imaginary box.
632
+ */
624
633
  export type WindowPosition = {
625
634
  top: number;
626
635
  left: number;
@@ -29665,6 +29665,22 @@ const $78db345376185e98$var$defaultWindowsState = {
29665
29665
  x: 0,
29666
29666
  y: 0
29667
29667
  }
29668
+ },
29669
+ [(0, $ab6T0.WINDOWS).MILKDROP]: {
29670
+ title: "Milkdrop",
29671
+ size: [
29672
+ 0,
29673
+ 0
29674
+ ],
29675
+ open: false,
29676
+ shade: false,
29677
+ canResize: true,
29678
+ canShade: false,
29679
+ canDouble: false,
29680
+ position: {
29681
+ x: 0,
29682
+ y: 0
29683
+ }
29668
29684
  }
29669
29685
  },
29670
29686
  browserWindowSize: {
@@ -29686,20 +29702,8 @@ const $78db345376185e98$var$windows = (state = $78db345376185e98$var$defaultWind
29686
29702
  genWindows: {
29687
29703
  ...state.genWindows,
29688
29704
  [(0, $ab6T0.WINDOWS).MILKDROP]: {
29689
- title: "Milkdrop",
29690
- size: [
29691
- 0,
29692
- 0
29693
- ],
29694
- open: action.open,
29695
- shade: false,
29696
- canResize: true,
29697
- canShade: false,
29698
- canDouble: false,
29699
- position: {
29700
- x: 0,
29701
- y: 0
29702
- }
29705
+ ...state.genWindows[(0, $ab6T0.WINDOWS).MILKDROP],
29706
+ open: action.open
29703
29707
  }
29704
29708
  }
29705
29709
  };