TraceView: Fix cursor not matching visual guide in the timeline when resizing (#76587)

* Reset bounds on mouse leave event from trace graph

* trigger CI

---------

Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
This commit is contained in:
Neel 2023-11-29 14:22:49 +05:30 committed by GitHub
parent 808e76ca05
commit d177770560
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -236,6 +236,7 @@ export class UnthemedViewingLayer extends React.PureComponent<ViewingLayerProps,
}; };
_handleReframeMouseLeave = () => { _handleReframeMouseLeave = () => {
this._draggerReframe.resetBounds();
this.props.updateNextViewRangeTime({ cursor: null }); this.props.updateNextViewRangeTime({ cursor: null });
}; };