custom-electron-titlebar 4.2.2 → 4.2.3

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.
@@ -178,6 +178,10 @@ class CustomTitlebar extends _get__("themebar_1").ThemeBar {
178
178
  (0, _get__("dom_1").append)(this.titlebar, this.controlsContainer);
179
179
  }
180
180
  setupContainer() {
181
+ const containerOverflow = this.currentOptions.containerOverflow;
182
+ if (containerOverflow) {
183
+ this.container.style.overflow = containerOverflow;
184
+ }
181
185
  while (document.body.firstChild) {
182
186
  (0, _get__("dom_1").append)(this.container, document.body.firstChild);
183
187
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "custom-electron-titlebar",
3
- "version": "4.2.2",
3
+ "version": "4.2.3",
4
4
  "description": "Library for electron that allows you to configure a fully customizable title bar.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "typesVersions": {
@@ -66,4 +66,4 @@
66
66
  "tsc-alias": "1.8.6",
67
67
  "typescript": "5.0.4"
68
68
  }
69
- }
69
+ }