kf save almost good

This commit is contained in:
STEINNI
2025-10-26 20:03:19 +00:00
parent 4e1f6886f2
commit f349ff38f4
5 changed files with 58 additions and 18 deletions
+13 -6
View File
@@ -17,7 +17,7 @@
}
.kf-editor article.agent-properties section{
display: grid;
grid-template-rows: 2em 3em auto;
grid-template-rows: 2em 2em auto;
overflow: visible;
height:100%;
}
@@ -53,11 +53,14 @@
padding: 0 0 0 0;
min-height: 1.2em;
}
.kf-editor article.agent-properties section.kf-actions { border-top: 1px solid #473; padding: 3px 5px 3px 5px; height:3em;}
.kf-editor article.agent-properties section.kf-actions {
border-top: 1px solid #473;
padding: 3px 5px 3px 5px;
height:8em;
}
.kf-editor article.agent-properties section.kf-actions button{
color: #DDD;
padding: 0 0 0 0;
min-height: 2em;
}
.kf-editor button[data-trigger="onAddAgent"] { background-color: #473; }
.kf-editor button[data-trigger="onRemoveAgent"] { background-color: #A00; }
@@ -99,9 +102,13 @@
</div>
<div data-output="agentProperties"></div>
</section>
<section class="kf-actions cols-2">
<button eicbutton rounded data-output="btnSaveKF" data-trigger="onSaveKF">Save KF</button>
<button eicbutton rounded data-output="btnResetKF" data-trigger="onResetKF">Reset KF</button>
<section class="kf-actions">
<label>Keyframe name</label>
<input type="text" data-output="kfName" placeholder="(min 5 chars)"/>
<div class="cols-2">
<button eicbutton rounded data-output="btnSaveKF" data-trigger="onSaveKF">Save KF</button>
<button eicbutton rounded data-output="btnResetKF" data-trigger="onResetKF">Reset KF</button>
</div>
</section>
</article>