You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Add dragCallbacks
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
@@ -49,6 +49,13 @@ interface IProps {
|
||||
// This is sort of a proxy for a number of things but we currently have no
|
||||
// need to control those things separately, so this is simpler.
|
||||
pipMode?: boolean;
|
||||
|
||||
// Callbacks for dragging the CallView in PIP mode
|
||||
dragCallbacks?: {
|
||||
onStartMoving: (event: React.MouseEvent) => void;
|
||||
onMoving: (event: React.MouseEvent) => void;
|
||||
onEndMoving: () => void;
|
||||
}
|
||||
}
|
||||
|
||||
interface IState {
|
||||
|
||||
Reference in New Issue
Block a user