Commit 7d06af29 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

MacOSX/Framework: Make sure the layer will resize on bounds change.

parent 1b693963
......@@ -70,6 +70,7 @@
self.layoutManager = layoutManager;
[self insertSublayer:voutLayer atIndex:0];
[self setNeedsDisplayOnBoundsChange:YES];
[CATransaction commit];
}
......
......@@ -141,6 +141,7 @@
[aLayer setNeedsLayout];
[aLayer setNeedsDisplay];
[rootLayer setNeedsDisplayOnBoundsChange:YES];
[rootLayer setNeedsDisplay];
[rootLayer layoutIfNeeded];
[CATransaction commit];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment