Skip to content

Commit 6cae6e9

Browse files
Merge branch 'develop' into fb-fit-41/theme-atom
2 parents c5dcab2 + 8dc52b9 commit 6cae6e9

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

web/libs/editor/src/components/SidePanels/OutlinerPanel/OutlinerTree.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,6 @@ const useDataTree = ({ regions, rootClass, footer }: any) => {
198198
const processor = useCallback((item: any, idx, _false, _null, _onClick) => {
199199
const { id, type, hidden, isDrawing } = item ?? {};
200200
const style = item?.background ?? item?.getOneColor?.();
201-
console.log(item?.background);
202201
const color = chroma(style ?? "#666").alpha(1);
203202
const mods: Record<string, any> = { hidden, type, isDrawing };
204203

web/libs/editor/src/components/SidePanels/TabPanels/SideTabsPanels.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,6 @@ const SideTabsPanelsComponent: FC<SidePanelsProps> = ({
265265
maxHeight,
266266
alignment: setDetached ? undefined : panel.alignment,
267267
});
268-
setSnap(undefined);
269268
});
270269
},
271270
[updatePanel, checkSnap, panelData, positioning],
@@ -502,7 +501,6 @@ const SideTabsPanelsComponent: FC<SidePanelsProps> = ({
502501
viewportSize.current.height = clientHeight ?? 0;
503502
setViewportSizeMatch(checkContentFit());
504503
setPanelMaxWidth(rootRef.current.clientWidth * 0.4);
505-
setSnap(undefined);
506504
});
507505
});
508506

0 commit comments

Comments
 (0)