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

Add font-weight attribute for item label font #54

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

igorwessel
Copy link

@igorwessel igorwessel commented Dec 13, 2024

This pull request introduces the itemLabelFontWeight property to the Wheel class, allowing users to specify the font weight for item labels.

Enhancements to Wheel class:

  • src/wheel.js: Added itemLabelFontWeight property, including getter and setter methods, and updated the ctx.font assignment to incorporate the new property. [1] [2] [3]

Updates to default constants:

  • src/constants.js: Added itemLabelFontWeight to the Defaults object with an initial value of an empty string.

Playground updates:

Evidences

Gravacao.de.Tela.2024-12-13.as.18.10.01.mov

@igorwessel igorwessel marked this pull request as ready for review December 13, 2024 21:26
@igorwessel igorwessel changed the title feat: add font-weight attribute to itemLabelFont Add font-weight attribute for item label font Dec 13, 2024
@igorwessel
Copy link
Author

ps @CrazyTim

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.

1 participant