feat: measurement tool axis lock added, style update, no animation ui update

This commit is contained in:
2025-08-25 14:08:25 +05:30
parent 706f587e72
commit affffe09c8
4 changed files with 332 additions and 217 deletions

View File

@@ -103,9 +103,16 @@ const AssetProperties: React.FC = () => {
</section>
<div className="header">Animations</div>
<section className="animations-lists">
{assets.map((asset) => {
{assets.map((asset, i) => {
if (asset.modelUuid !== selectedFloorItem.uuid || !asset.animations)
return null;
return (
i === 0 && (
<div className="no-animation">
Looks like there are no preset animations yet. Stay tuned for
future additions!
</div>
)
);
return asset.animations.map((animation, index) => (
<div key={index} className="animations-list-wrapper">