fix typo in DiscretePropertyChangedDetector constructor (don't trim the whole array)

This commit is contained in:
John Colvin committed 2020-02-21 18:51:37 -06:00
1 parent 995159b365
commit 454330e360
1 file changed
+1 -1
@@ -258,7 +258,7 @@ namespace bts.utils {
_property_monitors[pm_pos++] = (pad.prop_info.Name, initialize, refresh);
}
}
ArrayHelper.trim(ref _property_monitors, _property_monitors.Length - pm_pos);
ArrayHelper.trim(ref _property_monitors, pm_pos);
}
public IDisposable detect_changes(T target) {