git.ithinksw.org
/
ITKit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding quick fix get-the-fuck-out-of-the-way positioning
[ITKit.git]
/
ITDissolveWindowEffect.m
diff --git
a/ITDissolveWindowEffect.m
b/ITDissolveWindowEffect.m
index
fc2bd38
..
147840d
100755
(executable)
--- a/
ITDissolveWindowEffect.m
+++ b/
ITDissolveWindowEffect.m
@@
-22,7
+22,9
@@
- (void)performAppear
{
- (void)performAppear
{
- [self setWindowVisibility:ITTransientStatusWindowAppearingState];
+ __idle = NO;
+
+ [self setWindowVisibility:ITWindowAppearingState];
[self performAppearFromProgress:0.0 effectTime:_effectTime];
}
[self performAppearFromProgress:0.0 effectTime:_effectTime];
}
@@
-60,12
+62,18
@@
{
[_effectTimer invalidate];
_effectTimer = nil;
{
[_effectTimer invalidate];
_effectTimer = nil;
- [self setWindowVisibility:ITTransientStatusWindowVisibleState];
+ [self setWindowVisibility:ITWindowVisibleState];
+
+ __idle = YES;
+
+ if ( __shouldReleaseWhenIdle ) {
+ [self release];
+ }
}
- (void)cancelAppear
{
}
- (void)cancelAppear
{
- [self setWindowVisibility:IT
TransientStatus
WindowVanishingState];
+ [self setWindowVisibility:ITWindowVanishingState];
[_effectTimer invalidate];
_effectTimer = nil;
[_effectTimer invalidate];
_effectTimer = nil;
@@
-81,7
+89,9
@@
- (void)performVanish
{
- (void)performVanish
{
- [self setWindowVisibility:ITTransientStatusWindowVanishingState];
+ __idle = NO;
+
+ [self setWindowVisibility:ITWindowVanishingState];
[self performVanishFromProgress:1.0 effectTime:_effectTime];
}
[self performVanishFromProgress:1.0 effectTime:_effectTime];
}
@@
-120,12
+130,18
@@
_effectTimer = nil;
[_window orderOut:self];
[_window setAlphaValue:1.0];
_effectTimer = nil;
[_window orderOut:self];
[_window setAlphaValue:1.0];
- [self setWindowVisibility:ITTransientStatusWindowHiddenState];
+ [self setWindowVisibility:ITWindowHiddenState];
+
+ __idle = YES;
+
+ if ( __shouldReleaseWhenIdle ) {
+ [self release];
+ }
}
- (void)cancelVanish
{
}
- (void)cancelVanish
{
- [self setWindowVisibility:IT
TransientStatus
WindowVanishingState];
+ [self setWindowVisibility:ITWindowVanishingState];
[_effectTimer invalidate];
_effectTimer = nil;
[_effectTimer invalidate];
_effectTimer = nil;