Skip to content

Commit

Permalink
Set default animation interval
Browse files Browse the repository at this point in the history
  • Loading branch information
alistairmcmillan committed Mar 6, 2011
1 parent 76f534e commit 0dec4f5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions MBAqua.m
Original file line number Diff line number Diff line change
Expand Up @@ -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"];
Expand Down

0 comments on commit 0dec4f5

Please sign in to comment.