| Index: sky/examples/style/block-layout.sky
|
| diff --git a/sky/examples/style/block-layout.sky b/sky/examples/style/block-layout.sky
|
| index 0cfac2bb07dce6d2be266021c9ec3880bcc35721..b0e67ba0ddf9fb84efa3d1f2dd6e654ecbe54802 100644
|
| --- a/sky/examples/style/block-layout.sky
|
| +++ b/sky/examples/style/block-layout.sky
|
| @@ -7,6 +7,7 @@ SKY MODULE
|
| <script>
|
| module.exports.BlockLayoutManager = class BlockLayoutManager extends sky.LayoutManager {
|
| function layout(width, height) {
|
| + this.markAsLaidOut();
|
| if (width == null)
|
| width = this.getIntrinsicWidth().value;
|
| let autoHeight = false;
|
| @@ -67,7 +68,7 @@ SKY MODULE
|
| loop = children.next();
|
| }
|
| }
|
| - return super(height); // applies and provides our own min-width/max-width rules
|
| + return super(height); // applies and provides our own min-height/max-height rules
|
| }
|
| }
|
| sky.registerLayoutManager('block', module.exports.BlockLayoutManager);
|
|
|