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

Unified Diff: sky/examples/raw/shadow.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/painting.sky ('k') | sky/sdk/lib/framework/painting/shadows.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/raw/shadow.dart
diff --git a/sky/examples/raw/shadow.dart b/sky/examples/raw/shadow.dart
index 32c401aba51256ac3228d27216187ec925740ea9..d613dfc7f50717c6bdcd7546da25562691d510b5 100644
--- a/sky/examples/raw/shadow.dart
+++ b/sky/examples/raw/shadow.dart
@@ -15,7 +15,7 @@ void beginFrame(double timeStamp) {
// Shadow layer.
..addLayerOnTop(
new DrawLooperLayerInfo()
- ..setPaintBits(-1)
+ ..setPaintBits(PaintBits.all)
..setOffset(const Point(5.0, 5.0))
..setColorMode(TransferMode.srcInMode),
(Paint layerPaint) {
« no previous file with comments | « sky/examples/raw/painting.sky ('k') | sky/sdk/lib/framework/painting/shadows.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698