<commit_before>﻿<UserControl x:Class="Aurora.Settings.Layers.Control_RadialLayer"
             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:controls="clr-namespace:Aurora.Controls"
             xmlns:ncore="http://schemas.ncore.com/wpf/xaml/colorbox"
             xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
             xmlns:u="clr-namespace:Aurora.Utils"
             mc:Ignorable="d" 
             d:DesignHeight="450" d:DesignWidth="800"
             Loaded="UserControl_Loaded">
    
    <Grid u:GridHelper.Rows="28px,28px,28px,180px,1*" u:GridHelper.Columns="95px,240px,1*">
        <Label Content="Gradient:" />
        <ncore:ColorBox x:Name="GradientPicker" BrushChanged="GradientPicker_BrushChanged" Height="28" Grid.Column="1" Margin="0,4" />

        <Label Content="Rotation speed:" Grid.Row="1" />
        <xctk:IntegerUpDown Value="{Binding Properties._AnimationSpeed}" Grid.Column="1" Grid.Row="1" Margin="0,4" />

        <Label Content="Segment count:" Grid.Row="2" />
        <xctk:IntegerUpDown Value="{Binding Properties._Brush.SegmentCount}" Minimum="1" Grid.Column="1" Grid.Row="2" Margin="0,4" />

        <Label Content="Affected keys:" Grid.Row="3" VerticalAlignment="Top" />
        <controls:KeySequence Sequence="{Binding Properties._Sequence, Mode=TwoWay}" RecordingTag="RadialLayer" Title="Affected Keys" Grid.Row="3" Grid.Column="1" Margin="0,4" />
    </Grid>
</UserControl>
<commit_msg>Added a maximum to the radial layer's segment count. Set at 90, which means a maximum arc of 4 degrees. Even at around 20 segements though, it's still barely noticable. This is more to prevent people crashing it by setting a studpidly high number.<commit_after>﻿<UserControl x:Class="Aurora.Settings.Layers.Control_RadialLayer"
             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:controls="clr-namespace:Aurora.Controls"
             xmlns:ncore="http://schemas.ncore.com/wpf/xaml/colorbox"
             xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
             xmlns:u="clr-namespace:Aurora.Utils"
             mc:Ignorable="d" 
             d:DesignHeight="450" d:DesignWidth="800"
             Loaded="UserControl_Loaded">
    
    <Grid u:GridHelper.Rows="28px,28px,28px,180px,1*" u:GridHelper.Columns="95px,240px,1*">
        <Label Content="Gradient:" />
        <ncore:ColorBox x:Name="GradientPicker" BrushChanged="GradientPicker_BrushChanged" Height="28" Grid.Column="1" Margin="0,4" />

        <Label Content="Rotation speed:" Grid.Row="1" />
        <xctk:IntegerUpDown Value="{Binding Properties._AnimationSpeed}" Grid.Column="1" Grid.Row="1" Margin="0,4" />

        <Label Content="Segment count:" Grid.Row="2" />
        <xctk:IntegerUpDown Value="{Binding Properties._Brush.SegmentCount}" Minimum="1" Maximum="90" Grid.Column="1" Grid.Row="2" Margin="0,4" />

        <Label Content="Affected keys:" Grid.Row="3" VerticalAlignment="Top" />
        <controls:KeySequence Sequence="{Binding Properties._Sequence, Mode=TwoWay}" RecordingTag="RadialLayer" Title="Affected Keys" Grid.Row="3" Grid.Column="1" Margin="0,4" />
    </Grid>
</UserControl>

{'fraction_non_alphanumeric': 0.1582122292295037, 'fraction_numerical': 0.034274746366876885, 'mean_word_length': 3.5886792452830187, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 18}, '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': '4265207', 'n_tokens_mistral': 1276, 'n_tokens_neox': 1148, 'n_words': 170}