@@ -113,25 +113,28 @@ <h3 class="box-title">Project code preview</h3>
113113 </ main >
114114 < div class ="frames-section-bottom ">
115115 < div class ="controls-section-left ">
116- < div class ="sidebar-header ">
117- < h3 style ="margin:0;font-size:0.9rem;color:#666 "> Frames (auto-saved)</ h3 >
118- < button id ="new-frame " title ="Create new frame "> +</ button >
119- < button id ="play-animation "> Play Animation</ button >
120- </ div >
121- < div >
122- < label > < input type ="radio " name ="mode " value ="frames " checked > Frames</ label >
123- < label > < input type ="radio " name ="mode " value ="anim "> Animations</ label >
124- </ div >
125- < div id ="anim-controls ">
126- < input id ="anim-name " placeholder ="Animation name " />
127- </ div >
128- <!-- Frame name goes above the list of frames and below animation name (if present) -->
129- < div >
130- < input id ="name " placeholder ="Frame name (optional) " />
131- < input id ="duration " type ="number " min ="0 " step ="10 " value ="1000 " title ="Duration in ms " />
132- </ div >
133- < div id ="frames " class ="frames "> </ div >
134- </ div >
116+ < div class ="sidebar-header ">
117+ < h3 style ="margin:0;font-size:0.9rem;color:#666 "> Animation</ h3 >
118+ < div class ="anim-buttons ">
119+ < button id ="play-animation " title ="Play Animation "> < svg width ="16 " height ="16 " viewBox ="0 0 16 16 " fill ="currentColor "> < path d ="M4 2 L14 8 L4 14 Z "/> </ svg > </ button >
120+ < button id ="stop-animation " title ="Stop Animation "> < svg width ="16 " height ="16 " viewBox ="0 0 16 16 " fill ="currentColor "> < rect x ="4 " y ="4 " width ="8 " height ="8 "/> </ svg > </ button >
121+ </ div >
122+ </ div >
123+ < div class ="animation-controls-body ">
124+ < div >
125+ < label > < input type ="radio " name ="mode " value ="frames " checked > Frames</ label >
126+ < label > < input type ="radio " name ="mode " value ="anim "> Animations</ label >
127+ </ div >
128+ < div id ="anim-controls ">
129+ < input id ="anim-name " placeholder ="Animation name " />
130+ </ div >
131+ <!-- Frame name goes above the list of frames and below animation name (if present) -->
132+ < div >
133+ < input id ="name " placeholder ="Frame name (optional) " />
134+ < input id ="duration " type ="number " min ="0 " step ="10 " value ="1000 " title ="Duration in ms " />
135+ </ div >
136+ < div id ="frames " class ="frames "> </ div >
137+ </ div > </ div >
135138 </ div >
136139 < div id ="error-container " class ="error-message " style ="display: none; "> </ div >
137140 </ div >
0 commit comments