Commit b35fb6cf authored by Ahmed Mehfooz's avatar Ahmed Mehfooz Committed by Chromium LUCI CQ

Enable bounce animation for screen capture tray button

Bug: 1137533
Change-Id: Iafdae4693b0fa67a7e187692ca566e1b832fd688
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2626967Reviewed-by: default avatarSammie Quon <sammiequon@chromium.org>
Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
Commit-Queue: Ahmed Mehfooz <amehfooz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#843286}
parent 1b3288c7
......@@ -31,6 +31,8 @@ StopRecordingButtonTray::StopRecordingButtonTray(Shelf* shelf)
image_view->SetVerticalAlignment(views::ImageView::Alignment::kCenter);
image_view->SetPreferredSize(gfx::Size(kTrayItemSize, kTrayItemSize));
tray_container()->AddChildView(std::move(image_view));
set_use_bounce_in_animation(true);
}
StopRecordingButtonTray::~StopRecordingButtonTray() = default;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment