Skip to content

Commit fbc9705

Browse files
authored
fixed FloatingOffset causing binding errors (#2497)
1 parent 2785af3 commit fbc9705

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

MaterialDesignThemes.Wpf/Converters/FloatingHintOffsetCalculationConverter.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ public object Convert(object?[] values, Type targetType, object? parameter, Cult
1212
{
1313
if (values.Length > 3 &&
1414
values[3] is Point floatingOffset &&
15+
IsType<Point>(targetType) &&
1516
floatingOffset != HintAssist.DefaultFloatingOffset)
1617
{
1718
return floatingOffset;

0 commit comments

Comments
 (0)