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

m-label emissive attributes #186

Merged
merged 7 commits into from
Jul 10, 2024
Merged

Conversation

TheCodeTherapy
Copy link
Contributor

This PR adds the emissive attribute to the <m-label> tag on mml-web. This allows the user to specify the emissive strength of the label's generated texture (how much perceived light it will emit).


What kind of changes does your PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Refactor
  • Tests
  • Other, please describe:

Does your PR introduce a breaking change? (check one)

  • Yes
  • No

If yes, please describe its impact and migration path for existing applications:

Does your PR fulfill the following requirements?

  • All tests are passing
  • The title references the corresponding issue # (if relevant)

Screenshot 2024-07-10 at 15 19 40

@@ -0,0 +1,17 @@
import { takeAndCompareScreenshot } from "./testing-utils";

describe("m-label", () => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This name should reflect the file name (emissive)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ooopsie. fixing

@TheCodeTherapy TheCodeTherapy merged commit 25138e1 into main Jul 10, 2024
8 checks passed
@TheCodeTherapy TheCodeTherapy deleted the feature/label-emissiveness branch July 10, 2024 15:18
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