mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-26 04:57:54 +00:00
set position of window to center
This commit is contained in:
1 parent
210526a796
commit
75c61d0b2d
1 file changed
+1
@@ -30,6 +30,7 @@
|
||||
+ (void)promptWithHostBundle:(NSBundle *)hb delegate:(id)d
|
||||
{
|
||||
id prompt = [[[self class] alloc] initWithHostBundle:hb delegate:d];
|
||||
[[prompt window] center];
|
||||
[prompt showWindow:self];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user