mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-30 20:07:36 +00:00
Allow class to be used with +themeForView, fix to image load notification
This commit is contained in:
1 parent
a0a7b126ab
commit
9c181cc9c9
2 files changed
+14
-7
No files matched your search
@@ -294,7 +294,7 @@ var _CPimageAndTextViewFrameSizeChangedFlag = 1 << 0,
|
||||
return;
|
||||
|
||||
if ([_image delegate] === self)
|
||||
[[CPNotificationCenter defaultCenter] removeObserver:_image name:CPImageDidLoadNotification object:_image];
|
||||
[[CPNotificationCenter defaultCenter] removeObserver:self name:CPImageDidLoadNotification object:_image];
|
||||
|
||||
_image = anImage;
|
||||
_flags |= _CPImageAndTextViewImageChangedFlag;
|
||||
|
||||
Reference in new issue
Block a user