We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 780671a commit e735b14Copy full SHA for e735b14
web/libs/editor/src/components/SidePanels/OutlinerPanel/OutlinerTree.tsx
@@ -487,7 +487,7 @@ const RegionControls: FC<RegionControlsProps> = injector(
487
}, [entity, type, regions]);
488
489
const onToggleHidden = useCallback(() => {
490
- if (type?.includes("region") || type?.includes("range")) {
+ if (type?.includes("region") || type?.includes("range") || type?.includes("reactcode")) {
491
entity.toggleHidden();
492
} else if (!type || type.includes("label")) {
493
regionStore.setHiddenByLabel(!hidden, entity);
0 commit comments