Skip to content

Commit

Permalink
Export LGraphEventMode (#369)
Browse files Browse the repository at this point in the history
  • Loading branch information
huchenlei authored Dec 5, 2024
1 parent 38227a9 commit c69bbdf
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/litegraph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export {
export { IWidget }
export { LGraphBadge, BadgePosition }
export { SlotShape, LabelPosition, SlotDirection, SlotType }
export { EaseFunction, LinkMarkerShape } from "./types/globalEnums"
export { EaseFunction, LinkMarkerShape, LGraphEventMode } from "./types/globalEnums"
export type {
SerialisableGraph,
SerialisableLLink,
Expand Down Expand Up @@ -131,12 +131,6 @@ export interface LinkReleaseContextExtended {
links: ConnectingLink[]
}

/** @deprecated Confirm no downstream consumers, then remove. */
export type LiteGraphCanvasEventType =
| "empty-release"
| "empty-double-click"
| "group-double-click"

export interface LiteGraphCanvasEvent extends CustomEvent<CanvasEventDetail> {}

export interface LiteGraphCanvasGroupEvent
Expand Down

0 comments on commit c69bbdf

Please sign in to comment.