-
-
Notifications
You must be signed in to change notification settings - Fork 340
Color api rename #2607
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
Color api rename #2607
Conversation
# Conflicts: # packages/math/src/Color.ts
WalkthroughThis pull request updates documentation and code references for color space conversion in the Color class. The conversion previously referred to as “gamma” is now explicitly labeled as “sRGB.” In the source code, the method call Changes
Sequence Diagram(s)sequenceDiagram
participant Caller
participant Color
Caller->>Color: Call toGamma() (deprecated)
Color->>Color: Delegate to toSRGB()
Color-->>Caller: Return sRGB conversion result
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (4)
🧰 Additional context used🧬 Code Graph Analysis (1)tests/src/math/Color.test.ts (1)
🪛 GitHub Check: codecov/patchpackages/math/src/Color.ts[warning] 374-375: packages/math/src/Color.ts#L374-L375 ⏰ Context from checks skipped due to timeout of 90000ms (1)
🔇 Additional comments (11)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev/1.5 #2607 +/- ##
========================================
Coverage 68.59% 68.60%
========================================
Files 966 966
Lines 101438 101443 +5
Branches 8714 8715 +1
========================================
+ Hits 69582 69594 +12
8000
+ Misses 31593 31586 -7
Partials 263 263
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
What is the current behavior? (You can also link to an open issue here)
What is the new behavior (if this is a feature change)?
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
Other information:
Summary by CodeRabbit