CPMenu broken again and proposed fix

2 views
Skip to first unread message

Saikat Chakrabarti

unread,
Oct 23, 2009, 6:48:30 PM10/23/09
to objecti...@googlegroups.com
I think Francisco's latest commit
(http://github.com/280north/cappuccino/commit/0561f69c860ce820035a89220695d9ae81081530)
broke autosizing of the menu. It's just a simple typo - to fix, the
setFrame method of CPMenu should read:

if (!_CGSizeEqualToSize(size, aRect.size))
[self tile];

instead of

if (_CGSizeEqualToSize(size, aRect.size))
[self tile];


Thanks!

Reply all
Reply to author
Forward
0 new messages