Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(556)

Unified Diff: sky/sdk/lib/framework/painting/shadows.dart

Issue 1175403002: Expose and use constants for DrawLooperLayerInfo.setPaintBits to dart. (Closed) Base URL: git@github.com:/domokit/mojo.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/examples/raw/shadow.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/framework/painting/shadows.dart
diff --git a/sky/sdk/lib/framework/painting/shadows.dart b/sky/sdk/lib/framework/painting/shadows.dart
index 7919f62071beefb7fff1ee885e179b733dc0ba69..27acccc4506d10bacf4f8784652a4edb9c8ec93a 100644
--- a/sky/sdk/lib/framework/painting/shadows.dart
+++ b/sky/sdk/lib/framework/painting/shadows.dart
@@ -12,7 +12,7 @@ class ShadowDrawLooperBuilder {
void addShadow(sky.Size offset, sky.Color color, double blur) {
builder_.addLayerOnTop(
new sky.DrawLooperLayerInfo()
- ..setPaintBits(-1)
+ ..setPaintBits(PaintBits.all)
..setOffset(offset.toPoint())
..setColorMode(sky.TransferMode.srcMode),
(sky.Paint layerPaint) {
« no previous file with comments | « sky/examples/raw/shadow.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698