Browse Source

refactor: clarify guide matching type definitions by specifying units in pixels

carlos/505-improve-grapesjs-absolute-mode
Carlos 11 months ago
parent
commit
1ee041120a
  1. 4
      packages/core/src/commands/view/ComponentDrag.ts

4
packages/core/src/commands/view/ComponentDrag.ts

@ -726,11 +726,11 @@ type GuideMatched = {
*/
posSecond: number;
/**
* The distance between the two matched guides.
* The distance between the two matched guides in pixels.
*/
size: number;
/**
* The raw distance between the two matched guides.
* The raw distance between the two matched guides in pixels.
*/
sizeRaw: number;
/**

Loading…
Cancel
Save