X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=NJMappingsController.m;fp=NJMappingsController.m;h=f1e068ee23ef35fdaf6f2b1de59f7b10ac8d2336;hp=193edfe670d073dd36d8ccbc613c5225c6d1f80c;hb=e23012ee44e26e9fd2bd43340a3fd806b084fa47;hpb=8ac97ce92f0607b38c14db63e6eabfd78729d473 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