forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restore Cocoa's whacky layout in the Mac app launcher since it has le…
…ss bad. This CL reverts r267186 and r243075 which tried to work around Cocoa's buggy layout in an NSCollectionView when it is first drawn during a scroll. On balance, the workarounds make things worse - we will just have to put up with jiggling apps and crappy text anti-aliasing until the toolkit-views launcher is fully ported to mac. The jiggling and bad text AA result because NSCollectionView incorrectly gives a nonintegral frameForItemAtIndex when its enclosing scroll view is mid-scroll. r243075 doesn't properly handle removals when the launcher isn't visible. r267186 tried to fix that but broke the Cocoa-provided animations. via git: Revert "Ensure the Mac app_list's initial NSCollectionView layouts obey frameForItemAtIndex:" Revert "Ensure stale values are not used in Mac App Launcher layout." BUG=364495,329454 Review URL: https://codereview.chromium.org/273563002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268888 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
tapted@chromium.org
committed
May 7, 2014
1 parent
69a0a37
commit 3754d59
Showing
3 changed files
with
22 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters