Remove minSize (#6910)

This commit is contained in:
Ben McCann
2020-01-05 07:42:42 -08:00
committed by Evert Timberg
parent c9fa553fb2
commit ecb0784f0d
5 changed files with 40 additions and 58 deletions

View File

@@ -59,8 +59,6 @@ class Title extends Element {
//
me.afterUpdate();
return me.minSize;
}
afterUpdate() {}
@@ -82,12 +80,6 @@ class Title extends Element {
me.top = 0;
me.bottom = me.height;
}
// Reset minSize
me.minSize = {
width: 0,
height: 0
};
}
afterSetDimensions() {}
@@ -103,7 +95,7 @@ class Title extends Element {
fit() {
var me = this;
var opts = me.options;
var minSize = me.minSize = {};
var minSize = {};
var isHorizontal = me.isHorizontal();
var lineCount, textSize;