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

fix: crash when using TouchBarScrubber arrow button #30661

Merged
merged 1 commit into from Aug 24, 2021

Conversation

codebytere
Copy link
Member

Description of Change

Closes #30658.

Fixes an issue where the TouchBarScrubber crashes if items is an empty array.

Checklist

Release Notes

Notes: Fixed an issue where the TouchBarScrubber crashes when showArrowButtons is enabled if items is an empty array.

@codebytere codebytere added semver/patch backwards-compatible bug fixes target/13-x-y labels Aug 23, 2021
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Aug 23, 2021
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Aug 24, 2021
@codebytere codebytere requested a review from zcbenz August 24, 2021 09:11
@codebytere codebytere merged commit 32194f0 into main Aug 24, 2021
@codebytere codebytere deleted the fix-touch-bar-crash branch August 24, 2021 16:28
@release-clerk
Copy link

release-clerk bot commented Aug 24, 2021

Release Notes Persisted

Fixed an issue where the TouchBarScrubber crashes when showArrowButtons is enabled if items is an empty array.

@trop
Copy link
Contributor

trop bot commented Aug 24, 2021

I have automatically backported this PR to "14-x-y", please check out #30679

@trop
Copy link
Contributor

trop bot commented Aug 24, 2021

I have automatically backported this PR to "13-x-y", please check out #30680

@trop
Copy link
Contributor

trop bot commented Aug 24, 2021

I have automatically backported this PR to "15-x-y", please check out #30681

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: TouchBarScrubber panics when items list is empty and ...
2 participants