updated realTime vis panel smooth transition

This commit is contained in:
Nalvazhuthi
2025-04-30 18:23:27 +05:30
75 changed files with 3802 additions and 2712 deletions

View File

@@ -6,8 +6,6 @@ import {
} from "../../../../components/icons/RealTimeVisulationIcons";
import { AddIcon } from "../../../../components/icons/ExportCommonIcons";
import { useSocketStore } from "../../../../store/store";
import { clearPanel } from "../../../../services/visulization/zone/clearPanel";
import { lockPanel } from "../../../../services/visulization/zone/lockPanel";
// Define the type for `Side`
type Side = "top" | "bottom" | "left" | "right";
@@ -315,7 +313,7 @@ const AddButtons: React.FC<ButtonsProps> = ({
fill={
hiddenPanels[selectedZone.zoneId]?.includes(side)
? "var(--icon-default-color-active)"
: "var(--icon-default-color)"
: "var(--text-color)"
}
/>
</div>
@@ -352,7 +350,7 @@ const AddButtons: React.FC<ButtonsProps> = ({
fill={
selectedZone.lockedPanels.includes(side)
? "var(--icon-default-color-active)"
: "var(--icon-default-color)"
: "var(--text-color)"
}
/>
</div>