perfect-gui 4.0.5 → 4.0.6

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "perfect-gui",
3
- "version": "4.0.5",
3
+ "version": "4.0.6",
4
4
  "description": "Nice and simple GUI for JavaScript",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
package/src/index.js CHANGED
@@ -147,6 +147,7 @@ export default class GUI {
147
147
  if (this.initMaxHeight) {
148
148
  this.maxHeight = Math.min(this.initMaxHeight, this.maxHeight);
149
149
  }
150
+ this.wrapper.style.maxHeight = this.maxHeight + 'px';
150
151
 
151
152
  if (this.hasBeenDragged) {
152
153
  return;