mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-23 15:37:50 +01:00
Small cosmetic fixes
This commit is contained in:
parent
3ed5d892f7
commit
323b9407df
@ -1780,7 +1780,7 @@
|
|||||||
<span data-i18n="Sampler Order">Sampler Order</span>
|
<span data-i18n="Sampler Order">Sampler Order</span>
|
||||||
<div class="margin5 fa-solid fa-circle-info opacity50p" title="Aphrodite only. Determines the order of samplers. Skew is always applied post-softmax, so it's not included here." data-i18n="[title]Aphrodite only. Determines the order of samplers. Skew is always applied post-softmax, so it's not included here."></div>
|
<div class="margin5 fa-solid fa-circle-info opacity50p" title="Aphrodite only. Determines the order of samplers. Skew is always applied post-softmax, so it's not included here." data-i18n="[title]Aphrodite only. Determines the order of samplers. Skew is always applied post-softmax, so it's not included here."></div>
|
||||||
</h4>
|
</h4>
|
||||||
<div class="toggle-description widthUnset" data-i18n="Aphrodite only. Determines the order of samplers. Skew is always applied post-softmax, so it's not included here.">
|
<div class="toggle-description widthUnset" data-i18n="Aphrodite only. Determines the order of samplers.">
|
||||||
Aphrodite only. Determines the order of samplers.
|
Aphrodite only. Determines the order of samplers.
|
||||||
</div>
|
</div>
|
||||||
<div id="sampler_priority_container_aphrodite" class="prompt_order">
|
<div id="sampler_priority_container_aphrodite" class="prompt_order">
|
||||||
|
@ -571,7 +571,12 @@ function sortOobaItemsByOrder(orderArray) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sorts the Aphrodite sampler items by the given order.
|
||||||
|
* @param {string[]} orderArray Sampler order array.
|
||||||
|
*/
|
||||||
function sortAphroditeItemsByOrder(orderArray) {
|
function sortAphroditeItemsByOrder(orderArray) {
|
||||||
|
console.debug('Preset samplers order: ', orderArray);
|
||||||
const $container = $('#sampler_priority_container_aphrodite');
|
const $container = $('#sampler_priority_container_aphrodite');
|
||||||
|
|
||||||
orderArray.forEach((name) => {
|
orderArray.forEach((name) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user