Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make selection be based on touch up instead of touch down, so user can tap, and drag a little to cancel the touch. Makes scroll much easier to trigger #58

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hboon
Copy link

@hboon hboon commented Apr 2, 2014

  • Make selection be based on touch up instead of touch down, so user can tap, and drag a little to cancel the touch. Makes scroll much easier to trigger.
    • Highlights tapped day until the touch is cancelled by dragging.

tap, and drag a little to cancel the touch. Makes scroll much easier to
trigger.
* Highlights tapped day until the touch is cancelled by dragging.
@@ -181,6 +184,18 @@ - (void)setBottomRow:(BOOL)bottomRow;
[self setNeedsLayout];
}

- (void)resetDateButtonDisplay:(UIButton*)aButton;
{
((UIButton*)aButton).backgroundColor = nil;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cast is unnecessary if the parameter is already a UIButton *.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants