mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-01 07:15:44 +00:00
29 lines
614 B
Objective-C
29 lines
614 B
Objective-C
//
|
|
// ComputerScrollView.m
|
|
// Moonlight
|
|
//
|
|
// Created by Diego Waxemberg on 9/30/15.
|
|
// Copyright © 2015 Moonlight Stream. All rights reserved.
|
|
//
|
|
|
|
#import "ComputerScrollView.h"
|
|
|
|
@implementation ComputerScrollView
|
|
|
|
- (BOOL)touchesShouldCancelInContentView:(UIView *)view {
|
|
if ([view isKindOfClass:[UIButton class]]) {
|
|
return YES;
|
|
}
|
|
return [super touchesShouldCancelInContentView:view];
|
|
}
|
|
|
|
/*
|
|
// Only override drawRect: if you perform custom drawing.
|
|
// An empty implementation adversely affects performance during animation.
|
|
- (void)drawRect:(CGRect)rect {
|
|
// Drawing code
|
|
}
|
|
*/
|
|
|
|
@end
|