Skip to content

Commit 7194110

Browse files
committed
Fix FontSelectionStyle.style output type
1 parent 061b33e commit 7194110

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Plotly.NET/Traces/ObjectAbstractions/Selection.fs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ type FontSelectionStyle() =
4141

4242
// Applies the styles to Font()
4343
static member style([<Optional; DefaultParameterValue(null)>] ?Color: Color) =
44-
(fun (fontSelectionStyle: FontSelectionStyle) -> Color |> DynObj.setValueOpt fontSelectionStyle "color")
44+
(fun (fontSelectionStyle: FontSelectionStyle) ->
45+
Color |> DynObj.setValueOpt fontSelectionStyle "color"
46+
fontSelectionStyle)
4547

4648
type Selection() =
4749
inherit DynamicObj()

0 commit comments

Comments
 (0)