Commit d761f805 authored by sadrul@chromium.org's avatar sadrul@chromium.org

Disable animation for buttons on hover (r88176 and r88149).

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/7104095

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88587 0039d316-1c4b-4281-b951-d872f2087c98
parent 373c1069
......@@ -248,6 +248,7 @@ NativeButton::NativeButton(ButtonListener* listener, const std::wstring& label)
: TextButton(listener, label), is_default_(false) {
set_alignment(TextButton::ALIGN_CENTER);
static_cast<TextButtonBorder*>(border())->copy_normal_set_to_hot_set();
set_animate_on_state_change(false);
set_focusable(true);
}
......
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