Permalink
Browse files

Set default animation interval

  • Loading branch information...
1 parent 76f534e commit 0dec4f51dac3ca0e3f2545a703be800e1800da0a @alistairmcmillan committed Mar 6, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 MBAqua.m
View
@@ -326,6 +326,12 @@ - (void)applicationDidFinishLaunching:(NSNotification *)notification
[defaults registerDefaults:dict];
}
+ // if we don't have a value already
+ // set default for animation interval
+ if ([defaults integerForKey:@"interval"] == 0) {
+ [defaults setInteger:200 forKey:@"interval"];
+ }
+
[[view window] center];
// autosave frame info
[[view window] setFrameAutosaveName:@"main"];

0 comments on commit 0dec4f5

Please sign in to comment.