Skip to content

Conversation

@TheStarkster
Copy link

Following changes are made to checkbox component

  • Converted all path coordinates to numeric values.
  • Appended the checkmark path as a sibling of the rect (within the same parent group), not inside it.
  • Added fill: 'none' to the checkmark path to ensure the stroke-only checkmark is visible.

@hustcc hustcc requested a review from Aarebecca December 17, 2024 11:53
x: bounds.halfExtents[0] ? bounds.max[0] + (spacing || 0) : (shape.style.x as number),
y: bounds.halfExtents[1] ? (bounds.min[1] + bounds.max[1]) / 2 : (shape.style.y as number),
};
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why move this method into class?

@hustcc
Copy link
Member

hustcc commented May 7, 2025

@TheStarkster thanks for your pr. Can help to add to test case for the diff?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants