mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-31 19:31:11 +02:00
Don't listen for onMouseLeave
This would cause problems because the moving element wouldn't catch up with the user Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
11222e7a46
commit
241e626e96
@ -629,7 +629,6 @@ export default class CallView extends React.Component<IProps, IState> {
|
|||||||
onMouseDown={this.props.dragCallbacks?.onStartMoving}
|
onMouseDown={this.props.dragCallbacks?.onStartMoving}
|
||||||
onMouseMove={this.props.dragCallbacks?.onMoving}
|
onMouseMove={this.props.dragCallbacks?.onMoving}
|
||||||
onMouseUp={this.props.dragCallbacks?.onEndMoving}
|
onMouseUp={this.props.dragCallbacks?.onEndMoving}
|
||||||
onMouseLeave={this.props.dragCallbacks?.onEndMoving}
|
|
||||||
>
|
>
|
||||||
<AccessibleButton onClick={this.onRoomAvatarClick}>
|
<AccessibleButton onClick={this.onRoomAvatarClick}>
|
||||||
<RoomAvatar room={callRoom} height={32} width={32} />
|
<RoomAvatar room={callRoom} height={32} width={32} />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user