home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / OPENSTEP / Games / NeXTGo-3.0-MIS / GameInspectorPanel.m < prev    next >
Encoding:
Text File  |  1997-08-16  |  329 b   |  20 lines

  1.  
  2. #import "GameInspectorPanel.h"
  3. #import "GoApp.h"
  4.  
  5. @implementation GameInspectorPanel
  6.  
  7. - (void)keyDown:(NSEvent *)theEvent  {
  8.     if([ControlPanel isVisible]) {
  9.         [ControlPanel makeKeyAndOrderFront:self];
  10.         [ControlPanel sendEvent:theEvent];
  11.         [NSApp setCommandSender:self];
  12.         return;
  13.     }
  14.     else 
  15.         [super keyDown:theEvent];
  16. }
  17.  
  18.  
  19. @end
  20.