Skip to content

Commit

Permalink
fix: add clip attribute in corner header group
Browse files Browse the repository at this point in the history
  • Loading branch information
Rui-Sun committed Jan 3, 2024
1 parent 343d3f1 commit 6458258
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function initSceneGraph(scene: Scenegraph) {
colHeaderGroup.role = 'col-header';
scene.colHeaderGroup = colHeaderGroup;

const cornerHeaderGroup = createContainerGroup(0, 0);
const cornerHeaderGroup = createContainerGroup(0, 0, true);
cornerHeaderGroup.role = 'corner-header';
scene.cornerHeaderGroup = cornerHeaderGroup;

Expand All @@ -37,15 +37,15 @@ export function initSceneGraph(scene: Scenegraph) {
componentGroup.role = 'component';
scene.componentGroup = componentGroup;

const rightTopCornerGroup = createContainerGroup(0, 0);
const rightTopCornerGroup = createContainerGroup(0, 0, true);
rightTopCornerGroup.role = 'corner-right-top-header';
scene.rightTopCornerGroup = rightTopCornerGroup;

const rightBottomCornerGroup = createContainerGroup(0, 0);
const rightBottomCornerGroup = createContainerGroup(0, 0, true);
rightBottomCornerGroup.role = 'corner-right-bottom-header';
scene.rightBottomCornerGroup = rightBottomCornerGroup;

const leftBottomCornerGroup = createContainerGroup(0, 0);
const leftBottomCornerGroup = createContainerGroup(0, 0, true);
leftBottomCornerGroup.role = 'corner-left-bottom-header';
scene.leftBottomCornerGroup = leftBottomCornerGroup;

Expand Down

0 comments on commit 6458258

Please sign in to comment.