TouchKit icon indicating copy to clipboard operation
TouchKit copied to clipboard

Adding MF Swipe recognizer and Trigger zone recognizer

Open darthbator opened this issue 7 years ago • 3 comments

These are two new recognizers that I have written. One that tracks a single touch starting in a boundary until it ends and the other a version of the swipe recognizer that is able to simultaneously track swipes across multiple fingers.

darthbator avatar Jun 27 '17 20:06 darthbator

Looks good to me. If you can just swap it over to the coding style the rest of TouchKit uses (there is an mdpolicy file in the root of the repo with the formatting baked in) I can get this merged in.

prime31 avatar Jun 28 '17 00:06 prime31

I went ahead and imported the policy into monodev, made sure it was being used in the options and then used Edit>Format>Format Document but didn't see any format changes occur. The selected policy is NewP31XamarinPolicy. I'm not ultra familiar with formatting documents in Monodev so any help would be appreciated. I am assuming I'm doing something wrong?

darthbator avatar Jun 28 '17 20:06 darthbator

Xamarin has 3 levels for its formatting (and all of its settings for that matter):

  • default policy (which is probably what you set when you pulled in the policy file)
  • solution (right click and choose options)
  • project (right click and choose options)

You have to make sure they are all set correctly for Xamarin to pick up on a top level policy. Solution and project must be set to inherited.

prime31 avatar Jun 29 '17 03:06 prime31