Skip to content

Commit

Permalink
2.0.20
Browse files Browse the repository at this point in the history
  • Loading branch information
adospace committed Jan 18, 2024
1 parent cad49e3 commit 0798208
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
env:
Solution_Name: ./src/MauiReactor.Build.sln
TemplatePack_Name: ./src/MauiReactor.TemplatePack/MauiReactor.TemplatePack.csproj
Version: 2.0.19
Version: 2.0.20

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion src/MauiReactor.ScaffoldGenerator/ScaffoldTypeGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1757,7 +1757,7 @@ protected override void OnRemoveChild(VisualNode widget, Microsoft.Maui.Controls

#line default
#line hidden
this.Write(" = v.CurrentValue());\r\n return ");
this.Write(" = ((RxDoubleAnimation)v).CurrentValue());\r\n return ");

#line 445 "C:\Source\github\reactorui-maui\src\MauiReactor.ScaffoldGenerator\ScaffoldTypeGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(TypeName.ToLocalVariableName()));
Expand Down
2 changes: 1 addition & 1 deletion src/MauiReactor.ScaffoldGenerator/ScaffoldTypeGenerator.tt
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ namespace <#= Namespace #>
public static T <#= property.Name #><T>(this T <#= TypeName.ToLocalVariableName() #>, <#= property.Type.GetFullyQualifiedName().ToReservedWordFullTypeName() #> <#= property.Name.CamelCase() #>, RxDoubleAnimation? customAnimation = null) where T : <#= InterfaceName #>
{
<#= TypeName.ToLocalVariableName() #>.<#= property.Name #> = <#= property.Name.CamelCase() #>;
<#= TypeName.ToLocalVariableName() #>.AppendAnimatable(global::<#= FullTypeName #>.<#= property.Name #>Property, customAnimation ?? new RxDoubleAnimation(<#= property.Name.CamelCase() #>), v => <#= TypeName.ToLocalVariableName() #>.<#= property.Name #> = v.CurrentValue());
<#= TypeName.ToLocalVariableName() #>.AppendAnimatable(global::<#= FullTypeName #>.<#= property.Name #>Property, customAnimation ?? new RxDoubleAnimation(<#= property.Name.CamelCase() #>), v => <#= TypeName.ToLocalVariableName() #>.<#= property.Name #> = ((RxDoubleAnimation)v).CurrentValue());
return <#= TypeName.ToLocalVariableName() #>;
}
<# } else if (property.Type.Equals(TypeofFloat, SymbolEqualityComparer.Default)) { #>
Expand Down

0 comments on commit 0798208

Please sign in to comment.