Better sizing when not displaying

This commit is contained in:
Evert Timberg 2015-12-07 21:58:48 -05:00
parent a2e1a97382
commit 4f8f182d21

View File

@ -173,6 +173,7 @@
}
// Increase sizes here
if (this.options.display) {
if (this.isHorizontal()) {
// Labels
@ -207,6 +208,7 @@
} else {
// TODO vertical
}
}
this.width = this.minSize.width;
this.height = this.minSize.height;