diff --git a/Classes/SlideToCancelViewController.m b/Classes/SlideToCancelViewController.m
index 220e2a5..690a597 100755
--- a/Classes/SlideToCancelViewController.m
+++ b/Classes/SlideToCancelViewController.m
@@ -93,6 +93,13 @@ - (void)loadView {
[slider addTarget:self
action:@selector(sliderChanged:)
forControlEvents:UIControlEventValueChanged];
+
+ //Adding a target for when you release outisde of the "view"
+ //This way, if they slide past the end or off the axis, we'll still get the expected result
+ //And it'll slide back!
+ [slider addTarget:self
+ action:@selector(sliderUp:)
+ forControlEvents:UIControlEventTouchUpOutside];
// Create the label with the actual size required by the text
// If you change the text, font, or font size by using the "label" property,
@@ -177,9 +184,12 @@ - (void) sliderChanged: (UISlider *) sender
{
// Fade the text as the slider moves to the right. This code makes the
// text totally dissapear when the slider is 35% of the way to the right.
- label.alpha = MAX(0.0, 1.0 - (slider.value * 3.5));
-
- // Stop the animation if the slider moved off the zero point
+
+ //This is incorrect, and I wanted it to stay visible slightly longer
+ //label.alpha = MAX(0.0, 1.0 - (slider.value * 3.5));
+ label.alpha= MAX(0.0, 1.0 - (slider.value / 0.65));
+
+ // Stop the animation if the slider moved off the zero point
if (slider.value != 0) {
[self stopTimer];
[label.layer setNeedsDisplay];
diff --git a/SlideToCancel.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/SlideToCancel.xcodeproj/project.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 0000000..7831b4f
--- /dev/null
+++ b/SlideToCancel.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+
+
+
+
+
diff --git a/SlideToCancel.xcodeproj/project.xcworkspace/xcuserdata/breland.xcuserdatad/UserInterfaceState.xcuserstate b/SlideToCancel.xcodeproj/project.xcworkspace/xcuserdata/breland.xcuserdatad/UserInterfaceState.xcuserstate
new file mode 100644
index 0000000..1da0ca4
Binary files /dev/null and b/SlideToCancel.xcodeproj/project.xcworkspace/xcuserdata/breland.xcuserdatad/UserInterfaceState.xcuserstate differ
diff --git a/SlideToCancel.xcodeproj/xcuserdata/breland.xcuserdatad/xcschemes/SlideToCancel.xcscheme b/SlideToCancel.xcodeproj/xcuserdata/breland.xcuserdatad/xcschemes/SlideToCancel.xcscheme
new file mode 100644
index 0000000..fc5350c
--- /dev/null
+++ b/SlideToCancel.xcodeproj/xcuserdata/breland.xcuserdatad/xcschemes/SlideToCancel.xcscheme
@@ -0,0 +1,86 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/SlideToCancel.xcodeproj/xcuserdata/breland.xcuserdatad/xcschemes/xcschememanagement.plist b/SlideToCancel.xcodeproj/xcuserdata/breland.xcuserdatad/xcschemes/xcschememanagement.plist
new file mode 100644
index 0000000..d4d11a5
--- /dev/null
+++ b/SlideToCancel.xcodeproj/xcuserdata/breland.xcuserdatad/xcschemes/xcschememanagement.plist
@@ -0,0 +1,22 @@
+
+
+
+
+ SchemeUserState
+
+ SlideToCancel.xcscheme
+
+ orderHint
+ 0
+
+
+ SuppressBuildableAutocreation
+
+ 1D6058900D05DD3D006BFB54
+
+ primary
+
+
+
+
+