mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2024-12-12 17:36:22 +01:00
Fix dropspot highlight not appearing on hover
This commit is contained in:
parent
53fe7f1d94
commit
ff07572fd4
@ -84,7 +84,7 @@ DraggableListModule.prototype.getClosestDraggable = function (element) {
|
||||
|
||||
DraggableListModule.prototype.getClosestDroppable = function (element) {
|
||||
return element !== this.list && element.closest('#' + this.list.id)
|
||||
? element.closest('.dropAllowed')
|
||||
? element.closest('.droppable')
|
||||
: null;
|
||||
}
|
||||
|
||||
|
@ -654,7 +654,7 @@ PromptManagerModule.prototype.renderPromptManagerListItems = function () {
|
||||
|
||||
const listEntry = this.getPromptListEntry(this.activeCharacter, prompt.identifier);
|
||||
const enabledClass = listEntry.enabled ? '' : `${prefix}prompt_manager_prompt_disabled`;
|
||||
const draggableClass = draggableEnabled ? 'draggable' : '';
|
||||
const draggableClass = draggableEnabled ? 'draggable' : prompt.marker ? 'droppable' : '';
|
||||
const markerClass = prompt.marker ? `${prefix}prompt_manager_marker` : '';
|
||||
const calculatedTokens = prompt.calculated_tokens ? prompt.calculated_tokens : '-';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user