cocoa: only call resize for view changing frame
This commit is contained in:
1 parent
0541151b40
commit
e75ce6c869
2 files changed
+2
-5
No files matched your search
@@ -147,6 +147,7 @@
|
||||
{
|
||||
[super setFrameSize:size];
|
||||
[self signalMousePosition];
|
||||
[self.adapter setNeedsResize];
|
||||
}
|
||||
|
||||
- (NSPoint)convertPointToPixels:(NSPoint)point
|
||||
|
||||
@@ -47,13 +47,9 @@
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)windowDidResize:(NSNotification *) notification
|
||||
{
|
||||
[self.adapter setNeedsResize];
|
||||
}
|
||||
|
||||
- (void)windowDidChangeBackingProperties:(NSNotification *)notification
|
||||
{
|
||||
// XXX: we maybe only need expose for this
|
||||
[self.adapter setNeedsResize];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user