Skip to content

Fix pages property to always return current array reference ( #3898 )#3899

Merged
HackbrettXXX merged 3 commits into
parallax:masterfrom
Opineppes:3898-bug-api-internal-pages-not-updated
Oct 7, 2025
Merged

Fix pages property to always return current array reference ( #3898 )#3899
HackbrettXXX merged 3 commits into
parallax:masterfrom
Opineppes:3898-bug-api-internal-pages-not-updated

Conversation

@Opineppes

@Opineppes Opineppes commented Oct 6, 2025

Copy link
Copy Markdown
Contributor

Previously, the pages array reference was exposed directly, which caused issues when the internal reference changed. Using a getter ensures that the current pages array is always returned.

fixes #3898

…x#3898 )

Previously, the pages array reference was exposed directly, which caused issues when the internal reference changed. Using a getter ensures that the current pages array is always returned.

@HackbrettXXX HackbrettXXX left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks! Please run prettier to fix the linter complaining.

@HackbrettXXX HackbrettXXX left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks!

@HackbrettXXX
HackbrettXXX merged commit c10d90c into parallax:master Oct 7, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: API.internal.pages not updated when restoring a RenderTarget

2 participants