PNLSettings invalidates _grid_cell_appearance when grid prop is assigned
This commit is contained in:
1 parent
9c160f5e41
commit
66b06d7190
1 file changed
+8
-1
@@ -70,6 +70,7 @@ namespace bts.shell.pnl {
|
||||
[ProtoMember(13)]
|
||||
PNLAnimationTriggerData[] _header_row_animations;
|
||||
|
||||
GridSettings _grid_backing;
|
||||
PNLCellAppearanceProto _grid_cell_appearance_backing;
|
||||
|
||||
public static PNLSettings Default =>
|
||||
@@ -204,7 +205,13 @@ namespace bts.shell.pnl {
|
||||
[ProtoMember(3)]
|
||||
public PNLCalculationType calculation_type { get; set; }
|
||||
[ProtoMember(4)]
|
||||
public GridSettings grid { get; set; }
|
||||
public GridSettings grid {
|
||||
get => _grid_backing;
|
||||
set {
|
||||
_grid_backing = value;
|
||||
_grid_cell_appearance_backing = null;
|
||||
}
|
||||
}
|
||||
[ProtoMember(6)]
|
||||
public PNLHeaderRowDisplay header_row_display { get; set; }
|
||||
|
||||
|
||||
Reference in new issue
Block a user