mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
fix: resize shift
This commit is contained in:
parent
dca997dcff
commit
b757fa1fd9
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ export default class HorizontalResizeHandler extends React.PureComponent<Props>
|
|||
componentWillReceiveProps(nextProps: Props) {
|
||||
if (!this.pointerDown) {
|
||||
// update baseSize when not resizing
|
||||
this.baseSize = this.props.size
|
||||
this.baseSize = nextProps.size
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue