Fix binding problem
This commit is contained in:
parent
de489e8b2c
commit
324ce4d0b3
|
@ -11,7 +11,7 @@ namespace Filtration.Converters
|
||||||
{
|
{
|
||||||
if (values[0] == DependencyProperty.UnsetValue ||
|
if (values[0] == DependencyProperty.UnsetValue ||
|
||||||
values[1] == DependencyProperty.UnsetValue)
|
values[1] == DependencyProperty.UnsetValue)
|
||||||
return null;
|
return new Rect(0, 0, 0, 0);
|
||||||
|
|
||||||
var size = (int)(values[0]);
|
var size = (int)(values[0]);
|
||||||
var color = (int)(values[1]);
|
var color = (int)(values[1]);
|
||||||
|
|
Loading…
Reference in New Issue