OSDN Git Service
(root)
/
kcd
/
KCD.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd9ad51
)
3本指スワイプで連合艦隊表示を切り替えられるようにした
author
masakih
<masakih@users.sourceforge.jp>
Sat, 5 Dec 2015 10:43:57 +0000
(19:43 +0900)
committer
masakih
<masakih@users.sourceforge.jp>
Sat, 5 Dec 2015 10:43:57 +0000
(19:43 +0900)
KCD/HMBroserWindowController.m
patch
|
blob
|
history
diff --git
a/KCD/HMBroserWindowController.m
b/KCD/HMBroserWindowController.m
index
a0ea610
..
bf5c062
100644
(file)
--- a/
KCD/HMBroserWindowController.m
+++ b/
KCD/HMBroserWindowController.m
@@
-340,6
+340,15
@@
static NSString *loginPageURLPrefix = @"https://www.dmm.com/my/-/login/=/";
}
+- (void)swipeWithEvent:(NSEvent *)event
+{
+ if([event deltaX] > 0) {
+ [self showCombinedView];
+ }
+ if([event deltaX] < 0) {
+ [self hideCombinedView];
+ }
+}
#pragma mark - Combined view
- (IBAction)showHideCombinedView:(id)sender