Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 8a889ea

Browse files
author
livecodeali
committed
[[ Widgets ]] Remove opacity setting from outer shadow props array
This setting was removed because it is specified by the alpha component of the color.
1 parent 6e38ded commit 8a889ea

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

extensions/widgets/header/header.lcb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,6 @@ private handler drawDropShadow() returns Effect
715715

716716
put color [153/255, 153/255, 153/255, 1] into tProps["color"]
717717
put "source over" into tProps["blend mode"]
718-
put 255 into tProps["opacity"]
719718
put 0.75 into tProps["spread"]
720719
put 5 into tProps["size"]
721720
put 1 into tProps["distance"]

extensions/widgets/pushbutton/pushbutton.lcb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,6 @@ private handler drawDropShadow() returns Effect
445445

446446
put color [39/255, 39/255, 39/255, 0.2] into tProps["color"]
447447
put "source over" into tProps["blend mode"]
448-
put 255 into tProps["opacity"]
449448

450449
if mWidgetTheme is kWidgetThemeAndroidFloatingAction then
451450
put 0.5 into tProps["spread"]

0 commit comments

Comments
 (0)