mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-16 21:58:39 -09:00
Removing call to undefined function on resize (#2396)
This commit is contained in:
parent
7f804cf66c
commit
0dd18ba5b3
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ class TermGroup_ extends PureComponent {
|
||||||
|
|
||||||
componentWillReceiveProps(nextProps) {
|
componentWillReceiveProps(nextProps) {
|
||||||
if (this.props.termGroup.sizes != nextProps.termGroup.sizes || nextProps.sizeChanged) {
|
if (this.props.termGroup.sizes != nextProps.termGroup.sizes || nextProps.sizeChanged) {
|
||||||
this.term && this.term.measureResize();
|
this.term && this.term.fitResize();
|
||||||
// Indicate to children that their size has changed even if their ratio hasn't
|
// Indicate to children that their size has changed even if their ratio hasn't
|
||||||
this.sizeChanged = true;
|
this.sizeChanged = true;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue