if show_background, then set the background from the color popup, else default to the Fallback background color, transparent

This commit is contained in:
Jake Norbut committed 2019-08-27 16:50:47 -05:00
1 parent f90ef6e12c
commit 20df8a6597
1 file changed
+1 -1
@@ -109,7 +109,7 @@ namespace mbts.spark {
public GridSettings create() =>
new GridSettings(font_family.name(), font_size, font_weight, font_color.color.rgb_color(), selection_highlight.to_proto(), columns.Select(c => c.create()),
background_color: background_color.color.rgb_color());
background_color: show_background_color ? background_color.color.rgb_color() : GridSettings.FallbackValues.background_color);
public void load_from(GridSettings value) {
if (value == null)