Skip to content

Add center sideview positions#62

Open
borjafac wants to merge 3 commits into
wheaney:mainfrom
borjafac:main
Open

Add center sideview positions#62
borjafac wants to merge 3 commits into
wheaney:mainfrom
borjafac:main

Conversation

@borjafac

Copy link
Copy Markdown

Introduce four new SideviewPosition variants (center_left, center_top, center_right, center_bottom) and add them to SideviewPositions and SideviewPositionDescriptions to support additional sideview alignment options.

Introduce four new SideviewPosition variants (center_left, center_top, center_right, center_bottom) and add them to SideviewPositions and SideviewPositionDescriptions to support additional sideview alignment options.

@wheaney wheaney left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Same as comments in Sombrero:

Let's use "center" for horizontal/x axis, and "middle" for vertical/y axis. Also follow the naming scheme we already had here: - e.g. "middle-left" and "top-center"; similarly, 4 should be updated to be "middle-center" for consistency.

Comment thread src/index.tsx Outdated
Replace the SideviewPosition identifiers 'center', 'center_left' and 'center_right' with 'middle_center', 'middle_left' and 'middle_right'. Updated the SideviewPosition type, SideviewPositions array and SideviewPositionDescriptions (including the display label change from "Center" to "Middle Center") to reflect the new keys.
@borjafac borjafac requested a review from wheaney May 29, 2026 07:14
@borjafac

Copy link
Copy Markdown
Author

Changes done :)

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