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

feat: Allow customizing GRID_UNIT for the Zelos renderer. #8636

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

gonfunko
Copy link
Contributor

@gonfunko gonfunko commented Nov 1, 2024

The basics

The details

Resolves

Fixes #6928

Proposed Changes

This PR updates the Zelos constant provider's constructor to take an optional gridUnit arg that defines the base unit which all other constants are calculated relative to. This allows subclasses to more easily control the rendering without duplicating substantial code from the base class.

@gonfunko gonfunko requested a review from a team as a code owner November 1, 2024 17:33
@github-actions github-actions bot added the PR: feature Adds a feature label Nov 1, 2024
@gonfunko gonfunko merged commit 8f22286 into google:rc/v12.0.0 Nov 7, 2024
11 checks passed
@gonfunko gonfunko deleted the constant-sorrow branch November 7, 2024 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: feature Adds a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants