diff --git a/AssemblyInfo.cs b/AssemblyInfo.cs index c8c71bb..aab3de4 100644 --- a/AssemblyInfo.cs +++ b/AssemblyInfo.cs @@ -7,7 +7,7 @@ [assembly: System.Runtime.InteropServices.ComVisible(false)] [assembly: System.Runtime.InteropServices.Guid("4483e561-8b3e-427d-98a4-e0e821b7bf2f")] [assembly: System.Reflection.AssemblyConfiguration("")] -[assembly: System.Reflection.AssemblyFileVersion("2.5.6")] +[assembly: System.Reflection.AssemblyFileVersion("2.5.7")] [assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] [assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] diff --git a/README.md b/README.md index 61899c0..f8f88b0 100644 --- a/README.md +++ b/README.md @@ -24,8 +24,7 @@ --- ## 目前已知问题 -- 右键保存图片时窗口始终置顶导致修改不了名字 ---- +- 暂无 ## 后续要加的功能 - 暂无 diff --git a/SETUNA/Main/Other/LayerManager.cs b/SETUNA/Main/Other/LayerManager.cs index 5249ee3..1fdcbf6 100644 --- a/SETUNA/Main/Other/LayerManager.cs +++ b/SETUNA/Main/Other/LayerManager.cs @@ -75,6 +75,8 @@ public void Update() //当前正在截图 if (!string.IsNullOrEmpty(tTopTitle) && tTopTitle == typeof(CaptureForm).Name) return; + //当前正在保存 + if (!string.IsNullOrEmpty(tTopTitle) && tTopTitle == CImageStyleItem.SaveImageTitle) return; //过滤其他截图工具 if (!string.IsNullOrEmpty(tTopClassName) && mIgnoreClassNames.Contains(tTopClassName)) diff --git a/SETUNA/Main/StyleItems/CImageStyleItem.cs b/SETUNA/Main/StyleItems/CImageStyleItem.cs index 6c5e575..2a78fcf 100644 --- a/SETUNA/Main/StyleItems/CImageStyleItem.cs +++ b/SETUNA/Main/StyleItems/CImageStyleItem.cs @@ -9,6 +9,7 @@ public abstract class CImageStyleItem : CStyleItem { + public const string SaveImageTitle = "SETUNA2 - 另存为"; public bool CopyPath = false; public EnumDupliType DupliType = EnumDupliType.OverWrite; public string FileName; @@ -132,6 +133,7 @@ protected string GetSavePath(ref ScrapBase scrap) if (flag) { SaveFileDialog dialog = new SaveFileDialog { + Title = SaveImageTitle, InitialDirectory = saveFolder, FileName = name, DefaultExt = extension,