From a34f1e2ad472d58a8115bb0013191b99d793fc60 Mon Sep 17 00:00:00 2001 From: Anurag Thakur Date: Wed, 3 Jun 2020 00:20:18 +0530 Subject: [PATCH] Animate Hover state change of CaptionButtons (#6303) ## Summary of the Pull Request As discussed in #6293 , this PR adds a fade animation to button background when pointer hover ends ## References ## PR Checklist * [x] Closes #6293 * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [ ] Tests added/passed * [ ] Requires documentation to be updated * [x] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx ## Detailed Description of the Pull Request / Additional comments Added storyboarded coloranimations to the visualstategroup of captionbuttons ## Validation Steps Performed Tested manually --- .../TerminalApp/MinMaxCloseControl.xaml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/src/cascadia/TerminalApp/MinMaxCloseControl.xaml b/src/cascadia/TerminalApp/MinMaxCloseControl.xaml index 305303d66..701c87209 100644 --- a/src/cascadia/TerminalApp/MinMaxCloseControl.xaml +++ b/src/cascadia/TerminalApp/MinMaxCloseControl.xaml @@ -4,7 +4,6 @@ the MIT License. See LICENSE in the project root for license information. --> x:Class="TerminalApp.MinMaxCloseControl" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" - xmlns:local="using:TerminalApp" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" @@ -93,7 +92,21 @@ the MIT License. See LICENSE in the project root for license information. --> - + + + + + + + + + + + + + + +