Fixed Mini Window appearing topmost on startup
This stupid setLevel default was something suggested when making a window a drag target, and I was observing a setLevel for a window control, not for a window itself. I should not have set that in the first place. Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
parent
763f4c8cd5
commit
f9040dd1d3
1 changed files with 0 additions and 1 deletions
|
@ -45,7 +45,6 @@ extern NSString *iTunesDropType;
|
||||||
} else {
|
} else {
|
||||||
fileType = NSFilenamesPboardType;
|
fileType = NSFilenamesPboardType;
|
||||||
}
|
}
|
||||||
[self setLevel:kCGDraggingWindowLevel - 1];
|
|
||||||
[self registerForDraggedTypes:@[fileType, iTunesDropType]];
|
[self registerForDraggedTypes:@[fileType, iTunesDropType]];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue