Skip to content

Fix 'set:outline' event reporting the text color - #9260

Merged
willeastcott merged 1 commit into
mainfrom
fix-set-outline-event-value
Aug 28, 2026
Merged

Fix 'set:outline' event reporting the text color#9260
willeastcott merged 1 commit into
mainfrom
fix-set-outline-event-value

Conversation

@willeastcott

Copy link
Copy Markdown
Contributor

Description

The outlineColor setter fired set:outline with this._color (the text color) instead of this._outlineColor, so listeners received the wrong value. One-line fix, mirroring what set:color fires.

Fixes #9254

Verified: lint clean; unit suite at the main baseline (2337 passing).

Checklist

  • I have read the contributing guidelines
  • My code follows the project's coding standards
  • This PR focuses on a single change

🤖 Generated with Claude Code

The outlineColor setter fired 'set:outline' with this._color instead of
this._outlineColor. Fixes #9254.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Build size report

This PR changes the size of the minified bundles.

Bundle Minified Gzip Brotli
playcanvas.min.js 2390.4 KB (+0.0 KB, +0.00%) 614.7 KB (+0.0 KB, +0.00%) 476.9 KB (−0.2 KB, −0.03%)
playcanvas.min.mjs 2387.8 KB (+0.0 KB, +0.00%) 613.4 KB (+0.0 KB, +0.00%) 476.4 KB (−0.1 KB, −0.01%)

@willeastcott
willeastcott merged commit 9dcc900 into main Aug 28, 2026
10 checks passed
@willeastcott
willeastcott deleted the fix-set-outline-event-value branch August 28, 2026 23:23
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.

TextElement: 'set:outline' event fires with text color instead of outline color

1 participant