mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2025-02-25 22:36:52 +00:00
(Fixes issue 604)
This commit is contained in:
parent
fee5a10ca0
commit
787c3594fd
@ -847,6 +847,8 @@ static inline void buildTransformsIfNeeded(NSView *self) {
|
||||
|
||||
[self setNeedsDisplayInRect:[view frame]];
|
||||
|
||||
[view viewDidMoveToSuperview];
|
||||
|
||||
if(_wantsLayer)
|
||||
[view setWantsLayer:YES];
|
||||
}
|
||||
@ -1162,7 +1164,7 @@ static inline void buildTransformsIfNeeded(NSView *self) {
|
||||
}
|
||||
|
||||
-(void)viewDidMoveToSuperview {
|
||||
NSUnimplementedMethod();
|
||||
// Intentionally empty.
|
||||
}
|
||||
|
||||
-(void)viewWillMoveToWindow:(NSWindow *)window {
|
||||
|
Loading…
x
Reference in New Issue
Block a user