Commit 55bdcfa0 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

MacOSX/Framework/VLCVideoLayer.m: Don't use any layout manager.

parent 9d7109ce
......@@ -69,17 +69,7 @@
aLayer.name = @"vlcopengllayer";
[self setLayoutManager:[CAConstraintLayoutManager layoutManager]];
[aLayer addConstraint:[CAConstraint constraintWithAttribute:kCAConstraintMaxY
relativeTo:@"superlayer" attribute:kCAConstraintMaxY]];
[aLayer addConstraint:[CAConstraint constraintWithAttribute:kCAConstraintMaxX
relativeTo:@"superlayer" attribute:kCAConstraintMaxX]];
[aLayer addConstraint:[CAConstraint constraintWithAttribute:kCAConstraintMinX
relativeTo:@"superlayer" attribute:kCAConstraintMinX]];
[aLayer addConstraint:[CAConstraint constraintWithAttribute:kCAConstraintMinY
relativeTo:@"superlayer" attribute:kCAConstraintMinY]];
[aLayer setAutoresizingMask:kCALayerWidthSizable|kCALayerHeightSizable];
[self insertSublayer:aLayer atIndex:0];
......
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