mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
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
This commit is contained in:
parent
108eb749dc
commit
84957e5be8
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user