Skip to content

Commit e183a5f

Browse files
author
Mat Gadd
committed
Fix typos in resize-related methods
1 parent 0d56be1 commit e183a5f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Classes/Controllers/PBWebController.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ - (void) awakeFromNib
3838
object:nil];
3939

4040
[nc addObserver:self
41-
selector:@selector(windowWillStartLiveResitzeWithNotification:)
41+
selector:@selector(windowWillStartLiveResizeWithNotification:)
4242
name:NSWindowWillStartLiveResizeNotification
4343
object:self.view.window];
4444

4545
[nc addObserver:self
46-
selector:@selector(windowDidEndLiveResitzeWithNotification:)
46+
selector:@selector(windowDidEndLiveResizeWithNotification:)
4747
name:NSWindowDidEndLiveResizeNotification
4848
object:self.view.window];
4949

@@ -263,12 +263,12 @@ - (void)preferencesChangedWithNotification:(NSNotification *)theNotification
263263
[self preferencesChanged];
264264
}
265265

266-
- (void)windowWillStartLiveResitzeWithNotification:(NSNotification *)theNotification
266+
- (void)windowWillStartLiveResizeWithNotification:(NSNotification *)theNotification
267267
{
268268
self.view.autoresizingMask = NSViewMaxXMargin | NSViewMinYMargin | NSViewMaxYMargin | NSViewHeightSizable;
269269
}
270270

271-
- (void)windowDidEndLiveResitzeWithNotification:(NSNotification *)theNotification
271+
- (void)windowDidEndLiveResizeWithNotification:(NSNotification *)theNotification
272272
{
273273
self.view.autoresizingMask = NSViewMinXMargin | NSViewMaxXMargin | NSViewMinYMargin | NSViewMaxYMargin | NSViewWidthSizable | NSViewHeightSizable;
274274
self.view.frame = self.view.superview.bounds;

0 commit comments

Comments
 (0)