| Index: sky/examples/style/toolbar-layout.sky
|
| diff --git a/sky/examples/style/toolbar-layout.sky b/sky/examples/style/toolbar-layout.sky
|
| index b0f59644bbdaf5adca5a56229a03af82963f8d1c..07843350f9bbdcc7ef23049c08fb5a761098d96c 100644
|
| --- a/sky/examples/style/toolbar-layout.sky
|
| +++ b/sky/examples/style/toolbar-layout.sky
|
| @@ -195,7 +195,8 @@ SKY MODULE
|
| canvas.save();
|
| try {
|
| canvas.beginPath();
|
| - canvas.rect(child.x, child.y, child.width, child.height);
|
| + canvas.translate(child.x, child.y);
|
| + canvas.rect(0, 0, child.width, child.height);
|
| canvas.clip();
|
| child.paint(canvas);
|
| } finally {
|
|
|