diff options
| author | miguelg <miguelg@chromium.org> | 2016-02-16 11:57:11 -0800 |
|---|---|---|
| committer | Commit bot <commit-bot@chromium.org> | 2016-02-16 19:58:07 +0000 |
| commit | fb4fe8e914065195fc775f675cfc730d61fec4e6 (patch) | |
| tree | 2e3201196edfe5dfc39d74c6ad146e9eb8e55421 | |
| parent | 41f9d6bfccf3c609248db164fd397f79a287415c (diff) | |
| download | chromium_src-fb4fe8e914065195fc775f675cfc730d61fec4e6.zip chromium_src-fb4fe8e914065195fc775f675cfc730d61fec4e6.tar.gz chromium_src-fb4fe8e914065195fc775f675cfc730d61fec4e6.tar.bz2 | |
Reset the settings button cog correctly when adding buttons
BUG=586495
Review URL: https://codereview.chromium.org/1692213002
Cr-Commit-Position: refs/heads/master@{#375637}
| -rw-r--r-- | ui/message_center/cocoa/notification_controller.mm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/message_center/cocoa/notification_controller.mm b/ui/message_center/cocoa/notification_controller.mm index 47893a5..228305f 100644 --- a/ui/message_center/cocoa/notification_controller.mm +++ b/ui/message_center/cocoa/notification_controller.mm @@ -576,6 +576,7 @@ titleFrame.origin.y += delta; messageFrame.origin.y += delta; contextMessageFrame.origin.y += delta; + settingsButtonFrame.origin.y += delta; listFrame.origin.y += delta; progressBarFrame.origin.y += delta; } @@ -646,6 +647,7 @@ titleFrame.origin.y += NSHeight(frame); messageFrame.origin.y += NSHeight(frame); contextMessageFrame.origin.y += NSHeight(frame); + settingsButtonFrame.origin.y += NSHeight(frame); listFrame.origin.y += NSHeight(frame); progressBarFrame.origin.y += NSHeight(frame); @@ -658,6 +660,7 @@ titleFrame.origin.y += bottomAdjust; messageFrame.origin.y += bottomAdjust; contextMessageFrame.origin.y += bottomAdjust; + settingsButtonFrame.origin.y += bottomAdjust; listFrame.origin.y += bottomAdjust; progressBarFrame.origin.y += bottomAdjust; } |
