[ColorPicker] Change zoom animation behavior (#11057)

* [ColorPicker] Change zoom animation behavior
Makes the main window large enough to accommodate all zoom levels.

* [ColorPicker] Change zoom window position logic
Use PointFromScreen to calculate mouse position relative to window
This requires a "visible" window, so use opacity to fake-hide window
Window is still fully hidden when color picker closes

* [ColorPicker] Extract and modify resize behavior
Allows easier editing of animation easing/duration

* Update expect.txt

IAnimatable
IEasing

Co-authored-by: Clint Rutkas <clint@rutkas.com>
This commit is contained in:
DoctorNefario
2021-05-07 17:28:20 +10:00
committed by GitHub
parent 21247c0bb0
commit 9461909321
7 changed files with 110 additions and 203 deletions

View File

@@ -752,6 +752,7 @@ hxx
Hyperlink
IAction
IActivated
IAnimatable
IApp
IApplication
IAppx
@@ -796,6 +797,7 @@ IDrop
idx
IDXGI
IDYES
IEasing
IEnum
IEnumerable
IEnumerator