Skip to content

Commit

Permalink
Fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
carldebilly committed Sep 5, 2021
1 parent ed66194 commit 7a90b25
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions UI/HtmlControls/HtmlControls/HtmlMeter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ private static void OnMinChanged(DependencyObject o, DependencyPropertyChangedEv
{
if (o is HtmlMeter meter && args.NewValue is double min)
{
meter.SetAttribute("min", min.ToStringInvariant());
meter.SetHtmlAttribute("min", min.ToStringInvariant());
}
}

Expand All @@ -49,7 +49,7 @@ private static void OnMaxChanged(DependencyObject o, DependencyPropertyChangedEv
{
if (o is HtmlMeter meter && args.NewValue is double max)
{
meter.SetAttribute("max", max.ToStringInvariant());
meter.SetHtmlAttribute("max", max.ToStringInvariant());
}
}

Expand All @@ -66,7 +66,7 @@ private static void OnValueChanged(DependencyObject o, DependencyPropertyChanged
{
if (o is HtmlMeter meter && args.NewValue is double value)
{
meter.SetAttribute("value", value.ToStringInvariant());
meter.SetHtmlAttribute("value", value.ToStringInvariant());
}
}

Expand Down
2 changes: 1 addition & 1 deletion UI/HtmlControls/HtmlControls/HtmlOption.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ private static void OnValueChanged(DependencyObject o, DependencyPropertyChanged
{
if (args.NewValue is string str)
{
option.SetAttribute("value", str);
option.SetHtmlAttribute("value", str);
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions UI/HtmlControls/HtmlControls/HtmlProgress.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ private static void OnMaxChanged(DependencyObject o, DependencyPropertyChangedEv
{
if (o is HtmlProgress progress && args.NewValue is double max)
{
progress.SetAttribute("max", max.ToStringInvariant());
progress.SetHtmlAttribute("max", max.ToStringInvariant());
}
}

Expand All @@ -49,7 +49,7 @@ private static void OnValueChanged(DependencyObject o, DependencyPropertyChanged
{
if (o is HtmlProgress progress && args.NewValue is double value)
{
progress.SetAttribute("value", value.ToStringInvariant());
progress.SetHtmlAttribute("value", value.ToStringInvariant());
}
}

Expand Down

0 comments on commit 7a90b25

Please sign in to comment.