Skip to content

Commit

Permalink
Fix checkbox selection crash
Browse files Browse the repository at this point in the history
  • Loading branch information
pizzaboxer committed Oct 31, 2022
1 parent f205fac commit e6a9d35
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 50 deletions.
4 changes: 2 additions & 2 deletions Bloxstrap/Bloxstrap.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<PlatformTarget>AnyCPU</PlatformTarget>
<Platforms>AnyCPU;x86</Platforms>
<ApplicationIcon>Bloxstrap.ico</ApplicationIcon>
<Version>1.5.0</Version>
<FileVersion>1.5.0.0</FileVersion>
<Version>1.5.1</Version>
<FileVersion>1.5.1.0</FileVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
24 changes: 12 additions & 12 deletions Bloxstrap/Dialogs/Themes/ColourfulDarkTheme.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,18 @@

<!-- -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- -->

<Style x:Key="OptionMarkFocusVisual">
<Setter Property="Control.Template">
<Setter.Value>
<ControlTemplate>
<Rectangle Margin="14,0,0,0" SnapsToDevicePixels="true"
Stroke="{StaticResource ControlDefaultForeground}"
StrokeThickness="1" StrokeDashArray="1 2" />
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>

<!-- CheckBox -->
<Style TargetType="{x:Type CheckBox}">
<Setter Property="MinHeight" Value="16" />
Expand Down Expand Up @@ -464,18 +476,6 @@
</Setter>
</Style>

<Style x:Key="OptionMarkFocusVisual">
<Setter Property="Control.Template">
<Setter.Value>
<ControlTemplate>
<Rectangle Margin="14,0,0,0" SnapsToDevicePixels="true"
Stroke="{StaticResource ControlDefaultForeground}"
StrokeThickness="1" StrokeDashArray="1 2" />
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>

<!-- -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- -->

<!-- ComboBox and ComboBoxItems-->
Expand Down
24 changes: 12 additions & 12 deletions Bloxstrap/Dialogs/Themes/ColourfulLightTheme.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,18 @@

<!-- -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- -->

<Style x:Key="OptionMarkFocusVisual">
<Setter Property="Control.Template">
<Setter.Value>
<ControlTemplate>
<Rectangle Margin="14,0,0,0" SnapsToDevicePixels="true"
Stroke="{StaticResource ControlDefaultForeground}"
StrokeThickness="1" StrokeDashArray="1 2" />
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>

<!-- CheckBox -->
<Style TargetType="{x:Type CheckBox}">
<Setter Property="MinHeight" Value="16" />
Expand Down Expand Up @@ -471,18 +483,6 @@
</Setter>
</Style>

<Style x:Key="OptionMarkFocusVisual">
<Setter Property="Control.Template">
<Setter.Value>
<ControlTemplate>
<Rectangle Margin="14,0,0,0" SnapsToDevicePixels="true"
Stroke="{StaticResource ControlDefaultForeground}"
StrokeThickness="1" StrokeDashArray="1 2" />
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>

<!-- -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- -->

<!-- ComboBox and ComboBoxItems-->
Expand Down
24 changes: 12 additions & 12 deletions Bloxstrap/Dialogs/Themes/DarkTheme.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,18 @@

<!-- -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- -->

<Style x:Key="OptionMarkFocusVisual">
<Setter Property="Control.Template">
<Setter.Value>
<ControlTemplate>
<Rectangle Margin="14,0,0,0" SnapsToDevicePixels="true"
Stroke="{StaticResource ControlDefaultForeground}"
StrokeThickness="1" StrokeDashArray="1 2" />
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>

<!-- CheckBox -->
<Style TargetType="{x:Type CheckBox}">
<Setter Property="MinHeight" Value="16" />
Expand Down Expand Up @@ -440,18 +452,6 @@
</Setter>
</Style>

<Style x:Key="OptionMarkFocusVisual">
<Setter Property="Control.Template">
<Setter.Value>
<ControlTemplate>
<Rectangle Margin="14,0,0,0" SnapsToDevicePixels="true"
Stroke="{StaticResource ControlDefaultForeground}"
StrokeThickness="1" StrokeDashArray="1 2" />
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>

<!-- -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- -->

<!-- ComboBox and ComboBoxItems-->
Expand Down
24 changes: 12 additions & 12 deletions Bloxstrap/Dialogs/Themes/LightTheme.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,18 @@

<!-- -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- -->

<Style x:Key="OptionMarkFocusVisual">
<Setter Property="Control.Template">
<Setter.Value>
<ControlTemplate>
<Rectangle Margin="14,0,0,0" SnapsToDevicePixels="true"
Stroke="{StaticResource ControlDefaultForeground}"
StrokeThickness="1" StrokeDashArray="1 2" />
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>

<!-- CheckBox -->
<Style TargetType="{x:Type CheckBox}">
<Setter Property="MinHeight" Value="16" />
Expand Down Expand Up @@ -440,18 +452,6 @@
</Setter>
</Style>

<Style x:Key="OptionMarkFocusVisual">
<Setter Property="Control.Template">
<Setter.Value>
<ControlTemplate>
<Rectangle Margin="14,0,0,0" SnapsToDevicePixels="true"
Stroke="{StaticResource ControlDefaultForeground}"
StrokeThickness="1" StrokeDashArray="1 2" />
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>

<!-- -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- -->

<!-- ComboBox and ComboBoxItems-->
Expand Down

0 comments on commit e6a9d35

Please sign in to comment.