projects
/
enjoyable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Turn popover activation button 'on' when the popover is up.
[enjoyable.git]
/
NJMappingsController.m
diff --git
a/NJMappingsController.m
b/NJMappingsController.m
index
193edfe
..
f1e068e
100644
(file)
--- a/
NJMappingsController.m
+++ b/
NJMappingsController.m
@@
-306,4
+306,12
@@
[popover showRelativeToRect:popoverActivate.bounds ofView:popoverActivate preferredEdge:NSMinXEdge];
}
[popover showRelativeToRect:popoverActivate.bounds ofView:popoverActivate preferredEdge:NSMinXEdge];
}
+- (void)popoverWillShow:(NSNotification *)notification {
+ popoverActivate.state = NSOnState;
+}
+
+- (void)popoverWillClose:(NSNotification *)notification {
+ popoverActivate.state = NSOffState;
+}
+
@end
@end