Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Revert "Snap in PiP widget when content changed (#9797)"
Browse files Browse the repository at this point in the history
This reverts commit be1e575.
  • Loading branch information
weeman1337 committed Dec 21, 2022
1 parent 16fb043 commit 3b4f64c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 112 deletions.
4 changes: 0 additions & 4 deletions src/components/views/voip/PictureInPictureDragger.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,6 @@ export default class PictureInPictureDragger extends React.Component<IProps> {
UIStore.instance.off(UI_EVENTS.Resize, this.onResize);
}

public componentDidUpdate(prevProps: Readonly<IProps>): void {
if (prevProps.children !== this.props.children) this.snap(true);
}

private animationCallback = () => {
if (
!this.moving &&
Expand Down
69 changes: 0 additions & 69 deletions test/components/views/voip/PictureInPictureDragger-test.tsx

This file was deleted.

This file was deleted.

0 comments on commit 3b4f64c

Please sign in to comment.