Skip to content

Commit f080c33

Browse files
committed
theme editor: disable window resize, fix year string for saved theme comment
1 parent 09a6d22 commit f080c33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

UnityLauncherPro/ThemeEditor.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
66
xmlns:local="clr-namespace:UnityLauncherPro"
77
mc:Ignorable="d"
8-
Title="ThemeEditor" Height="500" Width="500" WindowStyle="ToolWindow" Loaded="Window_Loaded" Background="#FF121212">
8+
Title="ThemeEditor" Height="500" Width="500" WindowStyle="ToolWindow" Loaded="Window_Loaded" Background="#FF121212" ResizeMode="NoResize">
99

1010
<Window.CommandBindings>
1111
<CommandBinding Command="ApplicationCommands.Undo" Executed="Executed_Undo" CanExecute="CanExecute_Undo"/>

UnityLauncherPro/ThemeEditor.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ private void BtnSaveTheme_Click(object sender, RoutedEventArgs e)
129129
if (saveFileDialog.ShowDialog() == true)
130130
{
131131
List<string> iniRows = new List<string>();
132-
iniRows.Add("# Created with UnityLauncherPro built-in theme editor " + DateTime.Now.ToString("dd/MM/YYYY"));
132+
iniRows.Add("# Created with UnityLauncherPro built-in theme editor " + DateTime.Now.ToString("dd/MM/yyyy"));
133133
for (int i = 0; i < themeColors.Count; i++)
134134
{
135135
iniRows.Add(themeColors[i].Key + "=" + themeColors[i].Brush.ToString());

0 commit comments

Comments
 (0)