Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in SystemTextFontNameProperty #283

Merged
merged 1 commit into from
Oct 25, 2020
Merged

Fix typo in SystemTextFontNameProperty #283

merged 1 commit into from
Oct 25, 2020

Conversation

rstm-sf
Copy link
Contributor

@rstm-sf rstm-sf commented Oct 25, 2020

Hello!

Fix typo in SystemTextFontNameProperty

InvalidCastException: Unable to cast object of type 'System.String' to type 'System.Double'.
This exception was originally thrown at this call stack:
    WpfMath.Controls.FormulaControl.CoerceScaleValue(System.Windows.DependencyObject, object) in FormulaControl.xaml.cs
    System.Windows.DependencyObject.ProcessCoerceValue(System.Windows.DependencyProperty, System.Windows.PropertyMetadata, ref System.Windows.EntryIndex, ref int, ref System.Windows.EffectiveValueEntry, ref System.Windows.EffectiveValueEntry, ref object, object, object, System.Windows.CoerceValueCallback, bool, bool, bool)
    System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex, System.Windows.DependencyProperty, System.Windows.PropertyMetadata, System.Windows.EffectiveValueEntry, ref System.Windows.EffectiveValueEntry, bool, bool, System.Windows.OperationType)
    System.Windows.DependencyObject.SetValueCommon(System.Windows.DependencyProperty, object, System.Windows.PropertyMetadata, bool, bool, System.Windows.OperationType, bool)
    System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty, object)
    System.Windows.Baml2006.WpfMemberInvoker.SetValue(object, object)
    MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(System.Xaml.XamlMember, object, object)
    MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(object, System.Xaml.XamlMember, object)

https://github.com/ForNeVeR/wpf-math/blob/af5c330fecdaec39e85324292372228350724a2a/src/WpfMath/Controls/FormulaControl.xaml.cs#L180-L184

Copy link
Owner

@ForNeVeR ForNeVeR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot!

@ForNeVeR ForNeVeR merged commit 8b100ae into ForNeVeR:master Oct 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants