From ab7e650bc22a01add573afbe42f186f3f949cb75 Mon Sep 17 00:00:00 2001 From: TCL <1620508360@qq.com> Date: Thu, 21 Jul 2022 23:25:47 +0800 Subject: [PATCH] style: use clangformat --- README.md | 1 + installer/Installer/AssemblyInfo.cs | 12 ++++++------ launcher/Launcher/AssemblyInfo.cs | 12 ++++++------ playback/Playback/Playback.cs | 1 - 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 49d0a34..013cc71 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,7 @@ THUAI6 开发组成员与其他贡献者应当遵循以下流程: | refactor | 改变代码结构,但没有增加新功能 | | docs | 修改文档,如 README、CONTRIBUTE 等 | | revert | 版本回退 | + | style | 仅仅修改了空格、格式缩进、逗号等等 | | ... | ... | - 鼓励开发组成员之间互相 review 并 merge 代码到 dev 分支上。merge 前建议简单检查其 pull request 是否符合上述规范 diff --git a/installer/Installer/AssemblyInfo.cs b/installer/Installer/AssemblyInfo.cs index 2211234..b89be78 100644 --- a/installer/Installer/AssemblyInfo.cs +++ b/installer/Installer/AssemblyInfo.cs @@ -1,10 +1,10 @@ using System.Windows; [assembly:ThemeInfo( - ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located - //(used if a resource is not found in the page, - // or application resource dictionaries) - ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located - //(used if a resource is not found in the page, - // app, or any theme specific resource dictionaries) + ResourceDictionaryLocation.None, // where theme specific resource dictionaries are located + //(used if a resource is not found in the page, + // or application resource dictionaries) + ResourceDictionaryLocation.SourceAssembly // where the generic resource dictionary is located + //(used if a resource is not found in the page, + // app, or any theme specific resource dictionaries) )] diff --git a/launcher/Launcher/AssemblyInfo.cs b/launcher/Launcher/AssemblyInfo.cs index 2211234..b89be78 100644 --- a/launcher/Launcher/AssemblyInfo.cs +++ b/launcher/Launcher/AssemblyInfo.cs @@ -1,10 +1,10 @@ using System.Windows; [assembly:ThemeInfo( - ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located - //(used if a resource is not found in the page, - // or application resource dictionaries) - ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located - //(used if a resource is not found in the page, - // app, or any theme specific resource dictionaries) + ResourceDictionaryLocation.None, // where theme specific resource dictionaries are located + //(used if a resource is not found in the page, + // or application resource dictionaries) + ResourceDictionaryLocation.SourceAssembly // where the generic resource dictionary is located + //(used if a resource is not found in the page, + // app, or any theme specific resource dictionaries) )] diff --git a/playback/Playback/Playback.cs b/playback/Playback/Playback.cs index 44be649..658e5d6 100644 --- a/playback/Playback/Playback.cs +++ b/playback/Playback/Playback.cs @@ -2,6 +2,5 @@ { public class Playback { - } } \ No newline at end of file