| Index: sky/examples/style/toolbar-layout.sky
|
| diff --git a/sky/examples/style/toolbar-layout.sky b/sky/examples/style/toolbar-layout.sky
|
| index a10191e4c2525019f8adc2d74ed708b81f4584a5..ff9038ca3cd9423d37bd0f608547a36dbeb71804 100644
|
| --- a/sky/examples/style/toolbar-layout.sky
|
| +++ b/sky/examples/style/toolbar-layout.sky
|
| @@ -188,9 +188,9 @@ SKY MODULE
|
| let children = this.walkChildren();
|
| let loop = children.next();
|
| while ((!loop.done) && (loop.value != this.firstSkippedChild))
|
| - this.paintChild(loop.value, canvas);
|
| + canvas.paintChild(loop.value);
|
| if (this.showingOverflow)
|
| - this.paintChild(this.overflowChild, canvas);
|
| + canvas.paintChild(this.overflowChild);
|
| }
|
| function inChild(child, x, y) {
|
| return (x >= child.x) && (y >= child.y) && (x < child.x+child.width) && (y < child.y+child.height);
|
|
|