@@ -116,25 +116,33 @@ <h3 class="box-title">Project code preview</h3>
116116 < div class ="sidebar-header ">
117117 < h3 style ="margin:0;font-size:0.9rem;color:#666 "> Animation</ h3 >
118118 < 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 >
119+ < button id ="play-animation " title ="Play Animation "> < img src =" img/icon-play.svg " alt =" Play " > </ button >
120+ < button id ="stop-animation " title ="Stop Animation "> < img src =" img/icon-stop.svg " alt =" Stop " > </ button >
121121 </ div >
122122 </ 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 >
123+ < div class ="animation-controls-body ">
124+ < div class ="animation-options ">
125+ < button id ="copy-anim " class ="anim-option-btn "> < img src ="img/copy.svg " alt ="Copy "> </ button >
126+ < button id ="delete-anim " class ="anim-option-btn "> < img src ="img/trash.svg " alt ="Delete "> </ button >
127+ < div class ="separator "> </ div >
128+ < button id ="duration-anim " class ="anim-option-btn "> < img src ="img/time.svg " alt ="Duration "> </ button >
129+ </ div >
130+ < div class ="animation-controls-main ">
131+ < div >
132+ < label > < input type ="radio " name ="mode " value ="frames " checked > Frames</ label >
133+ < label > < input type ="radio " name ="mode " value ="anim "> Animations</ label >
134+ </ div >
135+ < div id ="anim-controls ">
136+ < input id ="anim-name " placeholder ="Animation name " />
137+ </ div >
138+ <!-- Frame name goes above the list of frames and below animation name (if present) -->
139+ < div >
140+ < input id ="name " placeholder ="Frame name (optional) " />
141+ < input id ="duration " type ="number " min ="0 " step ="10 " value ="1000 " title ="Duration in ms " />
142+ </ div >
143+ < div id ="frames " class ="frames "> </ div >
144+ </ div >
145+ </ div > </ div >
138146 </ div >
139147 < div id ="error-container " class ="error-message " style ="display: none; "> </ div >
140148 </ div >
0 commit comments