diff --git a/packages/webui/components/viewers/model/model-control-bar.tsx b/packages/webui/components/viewers/model/model-control-bar.tsx index f4cff881..e2368483 100644 --- a/packages/webui/components/viewers/model/model-control-bar.tsx +++ b/packages/webui/components/viewers/model/model-control-bar.tsx @@ -1,5 +1,6 @@ import React from 'react' import { Play, Pause, RotateCcw, Maximize, Minimize, Minus, Plus, Download } from 'lucide-react' +import { cn } from '@/ui/lib/utils' import { RulerSlider } from './ruler-slider' export interface ModelControlBarProps { @@ -44,35 +45,45 @@ export const ModelControlBar: React.FC = ({ } return ( -
-
- {/* Play/Pause & Degree Readout */} -
+
+ {/* Top: Ruler Slider across full width */} +
+ +
+ + {/* Bottom: Lower Controls Row */} +
+ {/* Left Side: Play/Pause, Degree Readout, Reset Rotation */} +
- {currentDegree}° / 360° + {currentDegree}° / 360°
-
- {/* Ruler Slider */} -
- -
- - {/* Right Action Tools */} -
- {/* Reset rotation to 0° */} +
+ {/* Right Side: Zoom controls, Download, Fullscreen */} +
{/* Zoom controls */} -
+