Skip to content

Commit

Permalink
Merge pull request #2639 from brave/content_setting_imaga_slide_anima…
Browse files Browse the repository at this point in the history
…tion

Don't show animation of content setting image at all
  • Loading branch information
simonhong authored Jun 11, 2019
2 parents 7141b40 + a5e5467 commit fa8d3a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions browser/ui/views/location_bar/brave_location_bar_view.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ void BraveLocationBarView::Init() {
AddChildView(brave_actions_);
// Call Update again to cause a Layout
Update(nullptr);

// Stop slide animation for all content settings views icon.
for (auto* content_setting_view : content_setting_views_)
content_setting_view->disable_animation();
}

void BraveLocationBarView::Layout() {
Expand Down

0 comments on commit fa8d3a5

Please sign in to comment.