Skip to content

Commit

Permalink
Change default colors and size
Browse files Browse the repository at this point in the history
  • Loading branch information
luizzeroxis committed Dec 20, 2024
1 parent 7d3efbb commit 490fa20
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions UndertaleModTool/App.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<MenuItem Command="ApplicationCommands.Copy" />
<MenuItem Command="ApplicationCommands.Paste" />
</local:ContextMenuDark>
<SolidColorBrush x:Key="TransparencyGridColor1" Color="#ffd3d3d3"/>
<SolidColorBrush x:Key="TransparencyGridColor2" Color="#ffffffff"/>
<SolidColorBrush x:Key="TransparencyGridColor1" Color="#ff666666"/>
<SolidColorBrush x:Key="TransparencyGridColor2" Color="#ff999999"/>
</Application.Resources>
</Application>
10 changes: 5 additions & 5 deletions UndertaleModTool/Controls/TransparencyGridBrush.xaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<DrawingBrush x:Key="TransparencyGridBrushBrush" Stretch="None" TileMode="Tile" Viewport="0,0,20,20" ViewportUnits="Absolute">
<DrawingBrush x:Key="TransparencyGridBrushBrush" Stretch="None" TileMode="Tile" Viewport="0,0,16,16" ViewportUnits="Absolute">
<DrawingBrush.Drawing>
<DrawingGroup>
<GeometryDrawing Brush="{DynamicResource TransparencyGridColor1}">
<GeometryDrawing.Geometry>
<GeometryGroup>
<RectangleGeometry Rect="0,0,10,10"/>
<RectangleGeometry Rect="10,10,10,10"/>
<RectangleGeometry Rect="0,0,8,8"/>
<RectangleGeometry Rect="8,8,8,8"/>
</GeometryGroup>
</GeometryDrawing.Geometry>
</GeometryDrawing>
<GeometryDrawing Brush="{DynamicResource TransparencyGridColor2}">
<GeometryDrawing.Geometry>
<GeometryGroup>
<RectangleGeometry Rect="10,0,10,10"/>
<RectangleGeometry Rect="0,10,10,10"/>
<RectangleGeometry Rect="8,0,8,8"/>
<RectangleGeometry Rect="0,8,8,8"/>
</GeometryGroup>
</GeometryDrawing.Geometry>
</GeometryDrawing>
Expand Down
4 changes: 2 additions & 2 deletions UndertaleModTool/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ public class Settings
public double GlobalGridThickness { get; set; } = 1;
public bool GridThicknessEnabled { get; set; } = false;

public string TransparencyGridColor1 { get; set; } = "#ffd3d3d3";
public string TransparencyGridColor2 { get; set; } = "#ffffffff";
public string TransparencyGridColor1 { get; set; } = "#ff666666";
public string TransparencyGridColor2 { get; set; } = "#ff999999";

public bool EnableDarkMode { get; set; } = false;
public bool ShowDebuggerOption { get; set; } = false;
Expand Down
2 changes: 1 addition & 1 deletion UndertaleModTool/Windows/SettingsWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
<local:TextBoxDark Width="80" Margin="3" Text="{Binding TransparencyGridColor2}" />
</StackPanel>

<Canvas Grid.Row="8" Grid.Column="1" Width="20" Height="20" Background="{DynamicResource TransparencyGridBrushBrush}"></Canvas>
<Canvas Grid.Row="8" Grid.Column="1" Width="16" Height="16" Background="{DynamicResource TransparencyGridBrushBrush}"></Canvas>

<Separator Grid.Row="9" Grid.ColumnSpan="4" Margin="10"/>

Expand Down

0 comments on commit 490fa20

Please sign in to comment.