Skip to content

Commit

Permalink
feat: optimize middlewares and renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshenhai committed Jun 22, 2024
1 parent 2896570 commit 25a7724
Show file tree
Hide file tree
Showing 14 changed files with 433 additions and 271 deletions.
8 changes: 6 additions & 2 deletions packages/core/src/middleware/layout-selector/config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
export const key = 'LAYOUT_SELECT';
// export const keyHoverElement = Symbol(`${key}_hoverElementSize`);
export const keyLayoutActionType = Symbol(`${key}_layoutActionType`); // 'hover' | 'resize' | null = null;
export const keyLayoutActionType = Symbol(`${key}_layoutActionType`); // 'resize' | null = null;
export const keyLayoutControlType = Symbol(`${key}_layoutControlType`); // ControlType | null;
export const keyLayoutController = Symbol(`${key}_layoutController`); // ElementSizeController | null = null;
export const keyLayoutIsHover = Symbol(`${key}_layoutIsHover`); // boolean | null
export const keyLayoutIsSelected = Symbol(`${key}_layoutIsSelected`); // boolean | null

export const selectColor = '#1973ba';
// export const selectColor = '#1973ba';
export const selectColor = '#b331c9';
export const disableColor = '#5b5959b5';
export const controllerSize = 10;
Loading

0 comments on commit 25a7724

Please sign in to comment.