diff --git a/examples/style/hex-layout.sky b/examples/style/hex-layout.sky index 695c2dd402..1d98c1d4c4 100644 --- a/examples/style/hex-layout.sky +++ b/examples/style/hex-layout.sky @@ -84,7 +84,7 @@ } return super(height); // does the equivalent of getIntrinsicWidth() above, applying min-height etc } - function paintChildren(RenderingSurface canvas) { + function paintChildren(canvas) { let width = this.node.width; let cellCount = this.node.getProperty('beehive-count'); let cellDim = width / cellCount;