mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-10 10:42:19 +00:00
Simplify the "layout computing" method and change its name
There is not need to use that much arguments because the result is stored in ivars. CPCollectionViewItem -copy: set properties correctly even if the collectionView overrides them.
This commit is contained in:
1 parent
2ab1493d27
commit
dd5bd17e2b
3 files changed
+26
-50
No files matched your search
@@ -50,7 +50,8 @@
|
||||
// copy connections
|
||||
}
|
||||
|
||||
[copy setSelected:NO];
|
||||
[copy setRepresentedObject:[self representedObject]];
|
||||
[copy setSelected:_isSelected];
|
||||
|
||||
return copy;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user