updated ui

This commit is contained in:
Nalvazhuthi 2025-03-25 14:41:51 +05:30
parent a84fe40486
commit 3667669cb5
1 changed files with 10 additions and 2 deletions

View File

@ -155,7 +155,13 @@ const AddButtons: React.FC<ButtonsProps> = ({
}
onClick={() => toggleVisibility(side)}
>
<EyeIcon />
<EyeIcon
fill={
hiddenPanels.includes(side)
? "white"
: "#1D1E21"
}
/>
</div>
{/* Clean Panel */}
@ -179,7 +185,7 @@ const AddButtons: React.FC<ButtonsProps> = ({
}
onClick={() => toggleLockPanel(side)}
>
<LockIcon />
<LockIcon fill={selectedZone.lockedPanels.includes(side) ? "#ffffff":"#1D1E21"}/>
</div>
</div>
)}
@ -190,3 +196,5 @@ const AddButtons: React.FC<ButtonsProps> = ({
};
export default AddButtons;