mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-02-20 18:32:17 +00:00
PCButton mouseMoved: check if ttWindow is not nil
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@21400 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
48956cf88d
commit
ff72db3c5c
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2005-07-03 Serg Stoyan <stoyan255@ukr.net>
|
||||||
|
|
||||||
|
* Library/PCButton: (mouseMoved:) check if ttWindow is not nil.
|
||||||
|
|
||||||
2005-07-01 Serg Stoyan <stoyan255@ukr.net>
|
2005-07-01 Serg Stoyan <stoyan255@ukr.net>
|
||||||
|
|
||||||
* Resources/Preferences.gorm: Fixed name of preferences panel.
|
* Resources/Preferences.gorm: Fixed name of preferences panel.
|
||||||
|
|
|
@ -262,6 +262,11 @@
|
||||||
NSPoint origin;
|
NSPoint origin;
|
||||||
|
|
||||||
// NSLog(@"mouseMoved");
|
// NSLog(@"mouseMoved");
|
||||||
|
if (ttWindow == nil)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
mouseLocation = [NSEvent mouseLocation];
|
mouseLocation = [NSEvent mouseLocation];
|
||||||
|
|
||||||
origin = NSMakePoint(mouseLocation.x + 8,
|
origin = NSMakePoint(mouseLocation.x + 8,
|
||||||
|
|
Loading…
Reference in a new issue