Commit 84957e5b authored by Adam Barth's avatar Adam Barth

Fix time picker

We were painting the contents of the RRect clip at the wrong offset. This patch
makes RRect match Rect and Path clips.

Fixes #1194
parent 108eb749
......@@ -232,7 +232,7 @@ class PaintingContext {
} else {
canvas.saveLayer(bounds.shift(offset), _disableAntialias);
canvas.clipRRect(clipRRect.shift(offset));
painter(this, Offset.zero);
painter(this, offset);
canvas.restore();
}
}
......
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