mirror of
https://github.com/mathuo/dockview
synced 2025-03-10 16:02:04 +00:00
chore: docs
This commit is contained in:
parent
50608f4520
commit
60f49ce449
@ -47,9 +47,12 @@ const Component = (props: { theme?: string }) => {
|
||||
e.nativeEvent.preventDefault();
|
||||
}),
|
||||
api.onWillShowOverlay((e) => {
|
||||
console.log(e);
|
||||
|
||||
if (!disableOverlay) {
|
||||
return;
|
||||
}
|
||||
|
||||
e.preventDefault();
|
||||
}),
|
||||
|
||||
@ -67,7 +70,7 @@ const Component = (props: { theme?: string }) => {
|
||||
disposable.dispose();
|
||||
});
|
||||
};
|
||||
}, [api, disablePanelDrag, disableGroupDrag]);
|
||||
}, [api, disablePanelDrag, disableGroupDrag, disableOverlay]);
|
||||
|
||||
const onReady = (event: DockviewReadyEvent) => {
|
||||
setApi(event.api);
|
||||
|
Loading…
Reference in New Issue
Block a user