Kaydet (Commit) 99aaa7d9 authored tarafından siqi's avatar siqi

click on next slide preview will bring users to the next slide

üst 84ceab81
...@@ -299,7 +299,7 @@ ...@@ -299,7 +299,7 @@
<rect key="frame" x="3" y="3" width="86" height="172"/> <rect key="frame" x="3" y="3" width="86" height="172"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxX="YES" heightSizable="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxX="YES" heightSizable="YES"/>
<subviews> <subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" verticalCompressionResistancePriority="1000" id="B2g-rO-b9G"> <imageView contentMode="scaleAspectFit" verticalCompressionResistancePriority="1000" id="B2g-rO-b9G">
<rect key="frame" x="0.0" y="104" width="86" height="68"/> <rect key="frame" x="0.0" y="104" width="86" height="68"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES" heightSizable="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES" heightSizable="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
...@@ -627,6 +627,7 @@ ...@@ -627,6 +627,7 @@
<class className="slideShowPreviewTable_vc" superclassName="UITableViewController"> <class className="slideShowPreviewTable_vc" superclassName="UITableViewController">
<source key="sourceIdentifier" type="project" relativePath="./Classes/slideShowPreviewTable_vc.h"/> <source key="sourceIdentifier" type="project" relativePath="./Classes/slideShowPreviewTable_vc.h"/>
<relationships> <relationships>
<relationship kind="action" name="startPresentationAction:"/>
<relationship kind="outlet" name="optionsTable" candidateClass="UITableView"/> <relationship kind="outlet" name="optionsTable" candidateClass="UITableView"/>
</relationships> </relationships>
</class> </class>
......
...@@ -186,8 +186,8 @@ ...@@ -186,8 +186,8 @@
} }
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
UITouch *touch = [[event allTouches] anyObject];
if (!self.touchPointerImage.isHidden){ if (!self.touchPointerImage.isHidden){
UITouch *touch = [[event allTouches] anyObject];
CGPoint loc = [touch locationInView:self.touchPointerImage]; CGPoint loc = [touch locationInView:self.touchPointerImage];
if (loc.x >= 0 && loc.x <= self.touchPointerImage.frame.size.width if (loc.x >= 0 && loc.x <= self.touchPointerImage.frame.size.width
&& loc.y >= 0 && loc.y <= self.touchPointerImage.frame.size.height){ && loc.y >= 0 && loc.y <= self.touchPointerImage.frame.size.height){
...@@ -198,6 +198,12 @@ ...@@ -198,6 +198,12 @@
[self.movingPointer setHidden:NO]; [self.movingPointer setHidden:NO];
} }
} }
if ([touch view] == self.secondarySlideView)
{
// Change to the next slide when secondary slide is clicked
[self nextSlideAction:nil];
}
} }
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event - (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment