Skip to content

Commit

Permalink
Fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
carldebilly authored and nickrandolph committed Jul 6, 2022
1 parent 9722d2a commit 56340f6
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 18 deletions.
3 changes: 0 additions & 3 deletions UI/HtmlControls/HtmlControls/HtmlH1Text.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ public partial class HtmlH1Text : FrameworkElement
{
public HtmlH1Text()
{
// Set a background to ensure pointer events are allowed
Background = new SolidColorBrush(Colors.Transparent);

// Avoid flicking while we're measuring the element
this.SetCssStyle("overflow", "hidden");
}
Expand Down
3 changes: 0 additions & 3 deletions UI/HtmlControls/HtmlControls/HtmlH2Text.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ public partial class HtmlH2Text : FrameworkElement
{
public HtmlH2Text()
{
// Set a background to ensure pointer events are allowed
Background = new SolidColorBrush(Colors.Transparent);

// Avoid flicking while we're measuring the element
this.SetCssStyle("overflow", "hidden");
}
Expand Down
3 changes: 0 additions & 3 deletions UI/HtmlControls/HtmlControls/HtmlH3Text.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ public partial class HtmlH3Text : FrameworkElement
{
public HtmlH3Text()
{
// Set a background to ensure pointer events are allowed
Background = new SolidColorBrush(Colors.Transparent);

// Avoid flicking while we're measuring the element
this.SetCssStyle("overflow", "hidden");
}
Expand Down
3 changes: 0 additions & 3 deletions UI/HtmlControls/HtmlControls/HtmlH4Text.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ public partial class HtmlH4Text : FrameworkElement
{
public HtmlH4Text()
{
// Set a background to ensure pointer events are allowed
Background = new SolidColorBrush(Colors.Transparent);

// Avoid flicking while we're measuring the element
this.SetCssStyle("overflow", "hidden");
}
Expand Down
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 56340f6

Please sign in to comment.