git.ithinksw.org
/
MenuTunes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2404965
)
Positioning Fixes. The window might still do some weirdness if you change its positi...
author
Matthew Judy
<mjudy@ithinksw.com>
Wed, 3 Dec 2003 11:39:25 +0000
(11:39 +0000)
committer
Matthew Judy
<mjudy@ithinksw.com>
Wed, 3 Dec 2003 11:39:25 +0000
(11:39 +0000)
StatusWindow.m
patch
|
blob
|
history
diff --git
a/StatusWindow.m
b/StatusWindow.m
index
8377ac0
..
e3dd8a5
100755
(executable)
--- a/
StatusWindow.m
+++ b/
StatusWindow.m
@@
-121,7
+121,9
@@
float excessHeight = 0.0;
NSPoint windowOrigin;
ITImageView *imageView;
float excessHeight = 0.0;
NSPoint windowOrigin;
ITImageView *imageView;
-
+ BOOL shouldAnimate = ( ! (([self visibilityState] == ITWindowAppearingState) ||
+ ([self visibilityState] == ITWindowVanishingState)) );
+
if ( _sizing == StatusWindowSmall ) {
divisor = SMALL_DIVISOR;
} else if ( _sizing == StatusWindowMini ) {
if ( _sizing == StatusWindowSmall ) {
divisor = SMALL_DIVISOR;
} else if ( _sizing == StatusWindowMini ) {
@@
-173,7
+175,7
@@
[self setFrame:NSMakeRect( windowOrigin.x,
windowOrigin.y,
windowWidth,
[self setFrame:NSMakeRect( windowOrigin.x,
windowOrigin.y,
windowWidth,
- windowHeight) display:YES animate:
YES
];
+ windowHeight) display:YES animate:
shouldAnimate
];
[[[self contentView] subviews] makeObjectsPerformSelector:@selector(removeFromSuperview)];
[[[self contentView] subviews] makeObjectsPerformSelector:@selector(removeFromSuperview)];