<commit_before>﻿<UserControl x:Class="TCC.Controls.FixedSkillControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:TCC.Controls"
             mc:Ignorable="d" Loaded="Control_Loaded"
             ClipToBounds="False" Background="Transparent"
             MouseLeave="UserControl_MouseLeave" d:DataContext="{d:DesignData  FixedSkillCooldown}">
    <UserControl.LayoutTransform>
        <ScaleTransform ScaleX="1" ScaleY="1"/>
    </UserControl.LayoutTransform>
    <Grid Width="55" Height="55" Margin="2" HorizontalAlignment="Left" Name="MainGrid" ClipToBounds="False">
        <Grid ClipToBounds="False">
            <Ellipse Width="51" Height="51" x:Name="Icon" Stroke="#7fff" StrokeThickness="1" HorizontalAlignment="Center" VerticalAlignment="Center">
                <Ellipse.Fill>
                    <ImageBrush ImageSource="{Binding Skill.IconName, Converter={StaticResource Converters.IconNameToPath}}"></ImageBrush>
                </Ellipse.Fill>
            </Ellipse>
            <local:Arc Margin="-500" x:Name="WarnArc" Opacity=".8" EndAngle="359.9" Stroke="White" StrokeThickness="30" Width="50" Height="50" HorizontalAlignment="Center" VerticalAlignment="Center">
                <local:Arc.LayoutTransform>
                    <ScaleTransform ScaleX="0" ScaleY="0"/>
                </local:Arc.LayoutTransform>
            </local:Arc>
        </Grid>
        <local:Arc x:Name="Arc" 
                   Opacity="1" 
                   UseLayoutRounding="False" 
                   Width="Auto" 
                   Height="Auto" 
                   StrokeThickness="26" Margin="2" 
                   Stroke="#a000" 
                   EndAngle="0.01" 
                   HorizontalAlignment="Stretch" 
                   VerticalAlignment="Stretch" />
        <local:Arc x:Name="PreArc" 
                   Opacity="1" 
                   UseLayoutRounding="False" 
                   Width="Auto" 
                   Height="Auto" 
                   StrokeThickness="26" Margin="2" 
                   Stroke="#9fa0" 
                   EndAngle=".01" 
                   HorizontalAlignment="Stretch" 
                   VerticalAlignment="Stretch" />
        <Ellipse x:Name="GrowEllipse" UseLayoutRounding="False"
                 Fill="#9000"
                 Width="48"
                 Height="48"
                 HorizontalAlignment="Center"
                 VerticalAlignment="Center"
                 Visibility="Hidden"
                 >
            <Ellipse.LayoutTransform>
                <ScaleTransform ScaleX="0" 
                                ScaleY="0"/>
            </Ellipse.LayoutTransform>
        </Ellipse>
        <Ellipse Fill="White" Name="Glow" Opacity="0"/>
        <Grid Width="Auto" 
              MinWidth="12"
              Height="Auto" 
              x:Name="G" 
              HorizontalAlignment="Right" 
              VerticalAlignment="Bottom"
              ClipToBounds="False"
              Opacity="{Binding IsRunning, RelativeSource={RelativeSource AncestorType=local:FixedSkillControl}, Converter={StaticResource Converters.BoolToOpacity}}">
            <Border Background="#fff" CornerRadius="5" Effect="{StaticResource FadedDropShadow}" BorderBrush="#404047" BorderThickness="1" Padding="4,0">
                <TextBlock Foreground="#d000" 
                           HorizontalAlignment="Center" 
                           VerticalAlignment="Center" 
                           TextAlignment="Center"
                           FontSize="15" 
                           x:Name="Number" 
                           Opacity="1" 
                           FontFamily="{StaticResource ArialMonoBold}"
                           Margin="0,0"
                           Text="{Binding SecondsText, RelativeSource={RelativeSource AncestorType=local:FixedSkillControl}, Mode=OneWay}"

                >
                </TextBlock>

            </Border>
        </Grid>
        <Rectangle Height="20" VerticalAlignment="Top" MouseEnter="UserControl_MouseEnter" Fill="#01000000"></Rectangle>
        <Grid HorizontalAlignment="Right" VerticalAlignment="Top" Width="20" Height="20" ToolTip="Remove" Cursor="Hand" Visibility="Collapsed"  Name="DeleteButton"
              MouseLeftButtonDown="DeleteButton_MouseLeftButtonDown">
            <Ellipse Fill="{StaticResource HpColor}" Effect="{StaticResource DropShadow}"></Ellipse>
            <Path Data="{StaticResource SvgClose}" Fill="White" Stretch="Uniform" Margin="5"></Path>
        </Grid>
        <local:Arc StrokeThickness="0" Stroke="White" EndAngle="359.9" x:Name="ResetArc" Opacity="1" Margin="2" RenderTransformOrigin=".5 .5">
<local:Arc.RenderTransform>
    <ScaleTransform />
</local:Arc.RenderTransform>
        </local:Arc>

    </Grid>
</UserControl><commit_msg>add glow to reset arc<commit_after>﻿<UserControl x:Class="TCC.Controls.FixedSkillControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:TCC.Controls"
             mc:Ignorable="d" Loaded="Control_Loaded"
             ClipToBounds="False" Background="Transparent"
             MouseLeave="UserControl_MouseLeave" d:DataContext="{d:DesignData  FixedSkillCooldown}">
    <UserControl.LayoutTransform>
        <ScaleTransform ScaleX="1" ScaleY="1"/>
    </UserControl.LayoutTransform>
    <Grid Width="55" Height="55" Margin="2" HorizontalAlignment="Left" Name="MainGrid" ClipToBounds="False">
        <Grid ClipToBounds="False">
            <Ellipse Width="51" Height="51" x:Name="Icon" Stroke="#7fff" StrokeThickness="1" HorizontalAlignment="Center" VerticalAlignment="Center">
                <Ellipse.Fill>
                    <ImageBrush ImageSource="{Binding Skill.IconName, Converter={StaticResource Converters.IconNameToPath}}"></ImageBrush>
                </Ellipse.Fill>
            </Ellipse>
            <local:Arc Margin="-500" x:Name="WarnArc" Opacity=".8" EndAngle="359.9" Stroke="White" StrokeThickness="30" Width="50" Height="50" HorizontalAlignment="Center" VerticalAlignment="Center">
                <local:Arc.LayoutTransform>
                    <ScaleTransform ScaleX="0" ScaleY="0"/>
                </local:Arc.LayoutTransform>
            </local:Arc>
        </Grid>
        <local:Arc x:Name="Arc" 
                   Opacity="1" 
                   UseLayoutRounding="False" 
                   Width="Auto" 
                   Height="Auto" 
                   StrokeThickness="26" Margin="2" 
                   Stroke="#a000" 
                   EndAngle="0.01" 
                   HorizontalAlignment="Stretch" 
                   VerticalAlignment="Stretch" />
        <local:Arc x:Name="PreArc" 
                   Opacity="1" 
                   UseLayoutRounding="False" 
                   Width="Auto" 
                   Height="Auto" 
                   StrokeThickness="26" Margin="2" 
                   Stroke="#9fa0" 
                   EndAngle=".01" 
                   HorizontalAlignment="Stretch" 
                   VerticalAlignment="Stretch" />
        <Ellipse x:Name="GrowEllipse" UseLayoutRounding="False"
                 Fill="#9000"
                 Width="48"
                 Height="48"
                 HorizontalAlignment="Center"
                 VerticalAlignment="Center"
                 Visibility="Hidden"
                 >
            <Ellipse.LayoutTransform>
                <ScaleTransform ScaleX="0" 
                                ScaleY="0"/>
            </Ellipse.LayoutTransform>
        </Ellipse>
        <Ellipse Fill="White" Name="Glow" Opacity="0"/>
        <Grid Width="Auto" 
              MinWidth="12"
              Height="Auto" 
              x:Name="G" 
              HorizontalAlignment="Right" 
              VerticalAlignment="Bottom"
              ClipToBounds="False"
              Opacity="{Binding IsRunning, RelativeSource={RelativeSource AncestorType=local:FixedSkillControl}, Converter={StaticResource Converters.BoolToOpacity}}">
            <Border Background="#fff" CornerRadius="5" Effect="{StaticResource FadedDropShadow}" BorderBrush="#404047" BorderThickness="1" Padding="4,0">
                <TextBlock Foreground="#d000" 
                           HorizontalAlignment="Center" 
                           VerticalAlignment="Center" 
                           TextAlignment="Center"
                           FontSize="15" 
                           x:Name="Number" 
                           Opacity="1" 
                           FontFamily="{StaticResource ArialMonoBold}"
                           Margin="0,0"
                           Text="{Binding SecondsText, RelativeSource={RelativeSource AncestorType=local:FixedSkillControl}, Mode=OneWay}"

                >
                </TextBlock>

            </Border>
        </Grid>
        <Rectangle Height="20" VerticalAlignment="Top" MouseEnter="UserControl_MouseEnter" Fill="#01000000"></Rectangle>
        <Grid HorizontalAlignment="Right" VerticalAlignment="Top" Width="20" Height="20" ToolTip="Remove" Cursor="Hand" Visibility="Collapsed"  Name="DeleteButton"
              MouseLeftButtonDown="DeleteButton_MouseLeftButtonDown">
            <Ellipse Fill="{StaticResource HpColor}" Effect="{StaticResource DropShadow}"></Ellipse>
            <Path Data="{StaticResource SvgClose}" Fill="White" Stretch="Uniform" Margin="5"></Path>
        </Grid>
        <local:Arc StrokeThickness="0" Stroke="White" EndAngle="359.9" x:Name="ResetArc" Opacity=".6" Margin="2" RenderTransformOrigin=".5 .5">
            <local:Arc.Effect>
                <DropShadowEffect ShadowDepth="0" BlurRadius="15" Color="White"></DropShadowEffect>
            </local:Arc.Effect>
<local:Arc.RenderTransform>
    <ScaleTransform />
</local:Arc.RenderTransform>
        </local:Arc>

    </Grid>
</UserControl>
{'fraction_non_alphanumeric': 0.12548262548262548, 'fraction_numerical': 0.023069498069498068, 'mean_word_length': 2.017181129877694, 'pattern_counts': {'":': 0, '<': 101, '<?xml version=': 0, '>': 101, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 12}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5923345', 'n_tokens_mistral': 3068, 'n_tokens_neox': 2648, 'n_words': 385}