Skip to content

Commit

Permalink
[BUG] Fix drop shadow not working when UseFading false (#393), versio…
Browse files Browse the repository at this point in the history
…n 1.2.9.13
  • Loading branch information
Hofknecht committed Jun 6, 2022
1 parent 81dd170 commit 9dbbaf1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions Helpers/Fading.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,13 @@ private void FadeStep()
}
else
{
if (!Properties.Settings.Default.UseFading)
{
// #393 provoke a redraw for the CS_DROPSHADOW to work
opacity = ShownMinus;
ChangeOpacity?.Invoke(this, opacity);
}

opacity = Shown;
ChangeOpacity?.Invoke(this, opacity);
StartStopTimer(FadingState.Idle);
Expand Down
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.2.9.12")]
[assembly: AssemblyFileVersion("1.2.9.12")]
[assembly: AssemblyVersion("1.2.9.13")]
[assembly: AssemblyFileVersion("1.2.9.13")]

0 comments on commit 9dbbaf1

Please sign in to comment.