From 21012343aa38ea9f8b00ed7d4e2d5de793cfa445 Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Thu, 5 Mar 2015 17:56:15 -0800 Subject: [PATCH] The floating action button should have a shadow This provokes a rendering bug in MojoShell but not in SkyShell. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/984793002 --- examples/fn/widgets/floating_action_button.dart | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/fn/widgets/floating_action_button.dart b/examples/fn/widgets/floating_action_button.dart index e0853aab029..ca70e5dc0d4 100644 --- a/examples/fn/widgets/floating_action_button.dart +++ b/examples/fn/widgets/floating_action_button.dart @@ -1,9 +1,6 @@ part of widgets; class FloatingActionButton extends MaterialComponent { - // TODO(rafaelw): Ganesh has problems with box shadows - // box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23); - static final Style _style = new Style(''' position: absolute; bottom: 16px; @@ -14,6 +11,7 @@ class FloatingActionButton extends MaterialComponent { height: 56px; background-color: ${Red[500]}; color: white; + box-shadow: ${Shadow[3]}; border-radius: 28px;''' ); static final Style _clipStyle = new Style('''