X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=NJMappingsController.m;h=f1e068ee23ef35fdaf6f2b1de59f7b10ac8d2336;hp=193edfe670d073dd36d8ccbc613c5225c6d1f80c;hb=e23012ee44e26e9fd2bd43340a3fd806b084fa47;hpb=ca998dd950f0b1900b21dc05cf57987d09b4e70e diff --git a/NJMappingsController.m b/NJMappingsController.m index 193edfe..f1e068e 100644 --- a/NJMappingsController.m +++ b/NJMappingsController.m @@ -306,4 +306,12 @@ [popover showRelativeToRect:popoverActivate.bounds ofView:popoverActivate preferredEdge:NSMinXEdge]; } +- (void)popoverWillShow:(NSNotification *)notification { + popoverActivate.state = NSOnState; +} + +- (void)popoverWillClose:(NSNotification *)notification { + popoverActivate.state = NSOffState; +} + @end