fix: Always Invalidate column layout on horizontal scroll

Previously, was only doing this when the [main grid] horizontal scroll
change triggered a similar scroll change in the column headers
This commit is contained in:
John Colvin committed 2022-02-14 14:01:49 -05:00
1 parent 77060841cb
commit f7178f3fa7
1 file changed
+1 -1
@@ -1076,8 +1076,8 @@ namespace mbts.ui.controls {
if (_header_horizontal_scroll_bar != null) {
if (!e.NewValue.epsilon_equals(_header_horizontal_scroll_bar.Value, HighDpiExtensions.EPSILON)) {
_header_scroll_viewer.ScrollToHorizontalOffset(e.NewValue);
invalidate_column_layout();
}
invalidate_column_layout();
}
}
}