diff --git a/TsubakiTranslator/BasicLibrary/WindowConfig.cs b/TsubakiTranslator/BasicLibrary/WindowConfig.cs index 9b1b4f6..c1bbc13 100644 --- a/TsubakiTranslator/BasicLibrary/WindowConfig.cs +++ b/TsubakiTranslator/BasicLibrary/WindowConfig.cs @@ -18,7 +18,7 @@ public WindowConfig() TranslateWindowTransparency = 165; SourceTextColor = Colors.BurlyWood; TranslatedTextColor = Colors.WhiteSmoke; - SourceTextVisibility = "Auto"; + SourceTextVisibility = true; } private double mainWindowWidth; @@ -31,7 +31,7 @@ public WindowConfig() private int translateWindowTransparency; private Color sourceTextColor; private Color translatedTextColor; - private string sourceTextVisibility; + private bool sourceTextVisibility; public double MainWindowWidth @@ -93,7 +93,7 @@ public Color TranslatedTextColor set => SetProperty(ref translatedTextColor, value); } - public string SourceTextVisibility + public bool SourceTextVisibility { get => sourceTextVisibility; set => SetProperty(ref sourceTextVisibility, value); diff --git a/TsubakiTranslator/Properties/PublishProfiles/FolderProfile.pubxml b/TsubakiTranslator/Properties/PublishProfiles/FolderProfile.pubxml index 7c0a303..4fe0214 100644 --- a/TsubakiTranslator/Properties/PublishProfiles/FolderProfile.pubxml +++ b/TsubakiTranslator/Properties/PublishProfiles/FolderProfile.pubxml @@ -1,17 +1,17 @@  - + Release Any CPU - bin\Release\net6.0-windows\publish\noRT + bin\Release\net6.0-windows\publish\noRT\ FileSystem net6.0-windows win-x64 false - False - True + false + false \ No newline at end of file diff --git a/TsubakiTranslator/TranslateWindow.xaml b/TsubakiTranslator/TranslateWindow.xaml index a99ba3c..339c2db 100644 --- a/TsubakiTranslator/TranslateWindow.xaml +++ b/TsubakiTranslator/TranslateWindow.xaml @@ -26,8 +26,6 @@ - -