Skip to content
This repository has been archived by the owner on May 3, 2021. It is now read-only.

Commit

Permalink
Fix topPageShadow display. Thanks to Ameir Al-Zoubi for finding the bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
ole committed Jul 21, 2010
1 parent 39564b7 commit 34b078f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Leaves/LeavesView.m
Expand Up @@ -84,7 +84,6 @@ - (void) setUpLayers {
bottomPageShadow.startPoint = CGPointMake(0,0.5);
bottomPageShadow.endPoint = CGPointMake(1,0.5);

[topPage addSublayer:topPageShadow];
[topPage addSublayer:topPageOverlay];
[topPageReverse addSublayer:topPageReverseImage];
[topPageReverse addSublayer:topPageReverseOverlay];
Expand All @@ -106,6 +105,7 @@ - (void) setUpLayers {
[self.layer addSublayer:bottomPage];
[self.layer addSublayer:topPage];
[self.layer addSublayer:topPageReverse];
[self.layer addSublayer:topPageShadow];

[self setUpLayersForViewingMode];

Expand Down

0 comments on commit 34b078f

Please sign in to comment.