Skip to content

fix(progress-spinner): set spinner width to match diameter #10314

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

Merged
merged 1 commit into from
Mar 30, 2018

Conversation

josephperrott
Copy link
Member

@josephperrott josephperrott commented Mar 7, 2018

Fixes #10200

Rather than increasing the width of the spinner to accommodate the inclusion of the stroke's width, the strokes width is now accounted for in the width. Said another way, the diameter of the outside of the spinner's circle is used, rather than the diameter of the inner circle.

@josephperrott josephperrott added pr: needs review target: patch This PR is targeted for the next patch release labels Mar 7, 2018
@josephperrott josephperrott requested a review from crisbeto March 7, 2018 17:22
@josephperrott josephperrott requested a review from jelbourn as a code owner March 7, 2018 17:22
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Mar 7, 2018
Copy link
Member

@jelbourn jelbourn left a comment

Choose a reason for hiding this comment

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

Could you expand the commit message with what this was doing wrong before?

@jelbourn jelbourn added pr: lgtm action: merge The PR is ready for merge by the caretaker and removed pr: needs review labels Mar 7, 2018
Copy link
Member

@jelbourn jelbourn left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@crisbeto crisbeto left a comment

Choose a reason for hiding this comment

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

LGTM

@crisbeto
Copy link
Member

crisbeto commented Mar 7, 2018

@josephperrott looks like there are some test failures and a few lint warnings.

@josephperrott josephperrott force-pushed the progress-spinner branch 2 times, most recently from bf9ae40 to 35cc471 Compare March 7, 2018 20:29
@josephperrott josephperrott added target: minor This PR is targeted for the next minor release and removed target: minor This PR is targeted for the next minor release labels Mar 23, 2018
@josephperrott josephperrott force-pushed the progress-spinner branch 3 times, most recently from f4b5f2c to 99079be Compare March 30, 2018 17:58
@josephperrott josephperrott merged commit c64cb7e into angular:master Mar 30, 2018
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 8, 2019
@josephperrott josephperrott deleted the progress-spinner branch March 20, 2020 22:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Progress Spinner actual size different from diameter
4 participants