diff --git a/TextKitDemo.xcodeproj/project.pbxproj b/TextKitDemo.xcodeproj/project.pbxproj index 2540ab4..edbc25e 100644 --- a/TextKitDemo.xcodeproj/project.pbxproj +++ b/TextKitDemo.xcodeproj/project.pbxproj @@ -214,7 +214,7 @@ isa = PBXProject; attributes = { CLASSPREFIX = TKD; - LastUpgradeCheck = 0500; + LastUpgradeCheck = 0510; ORGANIZATIONNAME = "Max Seelemann"; }; buildConfigurationList = 5041481F17F80E5C008D88C6 /* Build configuration list for PBXProject "TextKitDemo" */; @@ -295,7 +295,6 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; @@ -334,7 +333,6 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; diff --git a/TextKitDemo/Interaction/TKDInteractionViewController.m b/TextKitDemo/Interaction/TKDInteractionViewController.m index 5160870..e057c09 100644 --- a/TextKitDemo/Interaction/TKDInteractionViewController.m +++ b/TextKitDemo/Interaction/TKDInteractionViewController.m @@ -52,7 +52,7 @@ - (void)circlePan:(UIPanGestureRecognizer *)pan CGPoint circleCenter = self.circleView.center; circleCenter.x = location.x - _panOffset.x + self.circleView.frame.size.width / 2; - circleCenter.y = location.y - _panOffset.y + self.circleView.frame.size.width / 2; + circleCenter.y = location.y - _panOffset.y + self.circleView.frame.size.height / 2; self.circleView.center = circleCenter; // Update exclusion path