mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Group / ungroup should not always be present in the context menu (#1890)
Co-authored-by: rene_mbp <harryloveslearning@googlemail.com> Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
parent
5664de0459
commit
51a8ab65f3
5 changed files with 593 additions and 0 deletions
|
@ -81,6 +81,10 @@ export interface Action {
|
|||
) => boolean;
|
||||
contextItemLabel?: string;
|
||||
contextMenuOrder?: number;
|
||||
contextItemPredicate?: (
|
||||
elements: readonly ExcalidrawElement[],
|
||||
appState: AppState,
|
||||
) => boolean;
|
||||
}
|
||||
|
||||
export interface ActionsManagerInterface {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue