feat: better default radius sizes for rectangles (#5553)
Co-authored-by: Ryan <diweihao@bytedance.com> Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
@ -24,7 +24,7 @@ export const hasStrokeStyle = (type: string) =>
|
||||
type === "arrow" ||
|
||||
type === "line";
|
||||
|
||||
export const canChangeSharpness = (type: string) =>
|
||||
export const canChangeRoundness = (type: string) =>
|
||||
type === "rectangle" ||
|
||||
type === "arrow" ||
|
||||
type === "line" ||
|
||||
|
@ -12,7 +12,7 @@ export {
|
||||
hasStrokeWidth,
|
||||
hasStrokeStyle,
|
||||
canHaveArrowheads,
|
||||
canChangeSharpness,
|
||||
canChangeRoundness,
|
||||
getElementAtPosition,
|
||||
hasText,
|
||||
getElementsAtPosition,
|
||||
|
Reference in New Issue
Block a user