Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ public override string ToHtml(float controlIndex)
controlData.ZoneGroupMetadata = new SectionZoneGroupMetadata()
{
// Set section type to 1 if it was not set (when new sections are added via code)
Type = (Section as CanvasSection).SectionType,
Type = (Section as CanvasSection).SectionType == 0 ? 1 : (Section as CanvasSection).SectionType,
DisplayName = Section.DisplayName,
IsExpanded = Section.IsExpanded,
ShowDividerLine = Section.ShowDividerLine,
Expand Down