issues
search
nicklockwood
/
iCarousel
A simple, highly customisable, data-driven 3D carousel for iOS and Mac OS
http://www.charcoaldesign.co.uk/source/cocoa#icarousel
Other
12k
stars
2.58k
forks
source link
Blur effect on views through non-rounded rect
#327
Open
hash3r
opened
11 years ago
hash3r
commented
11 years ago
My git change:
frame.origin.x = (containerView.bounds.size.width - frame.size.width) / 2.0f;
frame.origin.y = (containerView.bounds.size.height - frame.size.height) / 2.0f;
frame.origin.x = roundf((containerView.bounds.size.width - frame.size.width) / 2.0f);
frame.origin.y = roundf((containerView.bounds.size.height - frame.size.height) / 2.0f);
view.superview.center = CGPointMake(self.bounds.size.width/2.0f + _contentOffset.width, self.bounds.size.height/2.0f + _contentOffset.height);
view.superview.center = CGPointMake(roundf(self.bounds.size.width/2.0f + _contentOffset.width), roundf(self.bounds.size.height/2.0f + _contentOffset.height));
emiliopavia
commented
11 years ago
I confirm this.
My git change: