diff --git a/examples/raw/painting.dart b/examples/raw/painting.dart index d02e9583f47..e43299f86cd 100644 --- a/examples/raw/painting.dart +++ b/examples/raw/painting.dart @@ -83,7 +83,7 @@ ui.Picture paint(ui.Rect paintBounds) { ui.Scene composite(ui.Picture picture, ui.Rect paintBounds) { final double devicePixelRatio = ui.view.devicePixelRatio; ui.Rect sceneBounds = new ui.Rect.fromLTWH(0.0, 0.0, ui.view.width * devicePixelRatio, ui.view.height * devicePixelRatio); - Float32List deviceTransform = new Float32List(16) + Float64List deviceTransform = new Float64List(16) ..[0] = devicePixelRatio ..[5] = devicePixelRatio ..[10] = 1.0 diff --git a/examples/stocks/lib/stock_home.dart b/examples/stocks/lib/stock_home.dart index 5d3bbcf7907..b42f035783d 100644 --- a/examples/stocks/lib/stock_home.dart +++ b/examples/stocks/lib/stock_home.dart @@ -224,7 +224,7 @@ class StockHomeState extends State { return new ToolBar( left: new IconButton( icon: "navigation/arrow_back", - color: Theme.of(context).accentColor, + colorFilter: new ui.ColorFilter.mode(Theme.of(context).accentColor, ui.TransferMode.srcATop), onPressed: _handleSearchEnd ), center: new Input(