Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show artboard names in viewport #1706

Open
0HyperCube opened this issue Mar 26, 2024 · 0 comments
Open

Show artboard names in viewport #1706

0HyperCube opened this issue Mar 26, 2024 · 0 comments
Labels
Feature New feature or request Rust Involves Rust programming for the backend

Comments

@0HyperCube
Copy link
Member

Currently it is possible to rename an artboard by double clicking in the layer tree. However this change is not reflected in the viewport, where it is still titled "Artboard".
artboard with incorrect name in viewport

See impl GraphicElementRendered for Artboard for the artboard rendering code. This change necessitates the passing of the name string into the graph execution context, whereas currently it is just visible as metadata on the document graph and so not sent to the actual node implementations at all. If the ConstructLayerNode got the layer name as input then it could apply the name to the passed in GraphicElement, which would involve storing the string in the Artboard struct and then retrieving that during rendering.

@0HyperCube 0HyperCube added Feature New feature or request Rust Involves Rust programming for the backend labels Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request Rust Involves Rust programming for the backend
Projects
Status: Short-Term
Development

No branches or pull requests

1 participant