Skip to content

Commit

Permalink
优化深色模式下活动课程显示效果
Browse files Browse the repository at this point in the history
  • Loading branch information
STBBRD committed Jan 23, 2025
1 parent 7be3b11 commit 8358a97
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ZongziTEK 黑板贴.sln
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@ EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
NoDebug-ZongziTEK_Blackboard_Sticker|Any CPU = NoDebug-ZongziTEK_Blackboard_Sticker|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{01ACAAF3-0138-4CE5-815E-D3BC58764234}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{01ACAAF3-0138-4CE5-815E-D3BC58764234}.Debug|Any CPU.Build.0 = Debug|Any CPU
{01ACAAF3-0138-4CE5-815E-D3BC58764234}.NoDebug-ZongziTEK_Blackboard_Sticker|Any CPU.ActiveCfg = ZongziTEK_Blackboard_Sticker|Any CPU
{01ACAAF3-0138-4CE5-815E-D3BC58764234}.NoDebug-ZongziTEK_Blackboard_Sticker|Any CPU.Build.0 = ZongziTEK_Blackboard_Sticker|Any CPU
{01ACAAF3-0138-4CE5-815E-D3BC58764234}.Release|Any CPU.ActiveCfg = Release|Any CPU
{01ACAAF3-0138-4CE5-815E-D3BC58764234}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ private void UserControl_Loaded(object sender, RoutedEventArgs e)

public void Activate()
{
ControlsHelper.SetDynamicResource(BorderActiveIndicator, Border.BackgroundProperty, ThemeKeys.SystemControlBackgroundAccentBrushKey);
ControlsHelper.SetDynamicResource(BorderActiveIndicator, Border.BackgroundProperty, ThemeKeys.AccentButtonBackgroundKey);
if (!IsActive) IsActive = true;
}

Expand Down
10 changes: 10 additions & 0 deletions ZongziTEK_Blackboard_Sticker/ZongziTEK_Blackboard_Sticker.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,16 @@
<PropertyGroup>
<ApplicationManifest>app.manifest</ApplicationManifest>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ZongziTEK_Blackboard_Sticker|AnyCPU'">
<OutputPath>bin\ZongziTEK_Blackboard_Sticker\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>none</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<LangVersion>latest</LangVersion>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
Expand Down

0 comments on commit 8358a97

Please sign in to comment.