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(progress-circle): render determinate and indeterminate across all supported browsers #375

Merged
merged 1 commit into from
May 17, 2016

Conversation

josephperrott
Copy link
Member

For #295

@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Apr 28, 2016
@@ -3,15 +3,12 @@
@import "default-theme";

/* Animation Durations */
$md-progress-circle-duration : 5.25s !default;
$md-progress-circle-value-change-duration : $md-progress-circle-duration * 0.25 !default;
$md-progress-circle-duration : 5332ms !default;
Copy link
Member

Choose a reason for hiding this comment

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

Can you add any info on where this value comes from?

Copy link
Member Author

Choose a reason for hiding this comment

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

Reverted back

@jelbourn
Copy link
Member

jelbourn commented May 4, 2016

@joeyperson Now needs rebasing on my mega change #384. Let me know if you need any help with that (next week, of course).

@josephperrott
Copy link
Member Author

Rebased.

// total circumference.
private _renderCircle(animateFrom: number, animateTo: number,
ease: (currentTime: number, startValue: number,
changeInValue: number, duration: number) => number,
Copy link
Member

Choose a reason for hiding this comment

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

You should be able to alias this type so that it's a little more readable here:

type EasingFn = (currentTime: number, startValue: number, changeInValue: number, duration: number) => number

(see the Dir directive for an example)

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

/**
* Determines the path value to define the arc.
*/
function getSvgArc(current: number, rotation: number) {
Copy link
Member

Choose a reason for hiding this comment

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

Need more explanation about what the function is returning.

@jelbourn
Copy link
Member

LGTM aside from a couple minor style nits.

@jelbourn jelbourn merged commit f22fa86 into angular:master May 17, 2016
andrewseguin pushed a commit to andrewseguin/components that referenced this pull request Oct 15, 2018
* The cdk-table guide became the overview document for the cdk table component. Therefore it's no longer a guide.
@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 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes PR author has agreed to Google's Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants