Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(205)

Unified Diff: ash/common/wm/overview/window_selector_item.cc

Issue 2111643004: [ash-md] Adjusts animation of the selector after closing an overview item (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/common/wm/overview/window_selector_item.cc
diff --git a/ash/common/wm/overview/window_selector_item.cc b/ash/common/wm/overview/window_selector_item.cc
index ea26f45327b331a5b4f57eedf44fd0ab1b085429..11b2fc452c7440334a091d8bd22ef5260799963e 100644
--- a/ash/common/wm/overview/window_selector_item.cc
+++ b/ash/common/wm/overview/window_selector_item.cc
@@ -414,6 +414,7 @@ void WindowSelectorItem::ButtonPressed(views::Button* sender,
AnimateOpacity(
0.0, OverviewAnimationType::OVERVIEW_ANIMATION_CLOSE_SELECTOR_ITEM);
}
+ window_selector_->SetSelectorOpacity(0.f);
bruthig 2016/07/04 17:06:22 I feel like the actual opacity value of the Window
varkha 2016/07/04 18:01:30 Done.
transform_window_.Close();
return;
}
« ash/common/wm/overview/window_grid.cc ('K') | « ash/common/wm/overview/window_selector.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698