Skip to content

Infinite animation causes high CPU usage #23

@stevemonaco

Description

@stevemonaco

Forgot to report for tracking. This is the only animation in the app and the effect is pretty subtle.

<ControlTheme.Animations>
<Animation Duration="0:1:0" IterationCount="Infinite" PlaybackDirection="Alternate">
<KeyFrame Cue="0%">
<Setter Property="BorderBrush">
<LinearGradientBrush StartPoint="-1000,1000" EndPoint="1000,0"
GradientStops="{StaticResource GoldBrush}"
Transform="rotate(120deg)" />
</Setter>
</KeyFrame>
<KeyFrame Cue="100%">
<Setter Property="BorderBrush">
<LinearGradientBrush StartPoint="-2000,1000" EndPoint="0,-1000"
GradientStops="{StaticResource GoldBrush}" />
</Setter>
</KeyFrame>
</Animation>
</ControlTheme.Animations>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions