mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +01:00
Reverting how the dragSelector DEFAULT_OPTION is set and only modifying a few
This commit is contained in:
parent
017db15c22
commit
89d88094e2
7 changed files with 6 additions and 25 deletions
|
|
@ -124,10 +124,7 @@ export default function DHApplicationMixin(Base) {
|
|||
}
|
||||
}
|
||||
],
|
||||
dragDrop: [
|
||||
{ dragSelector: '.inventory-item[data-type="effect"]', dropSelector: null },
|
||||
{ dragSelector: '.inventory-item[data-type="effect"] [draggable="true"]', dropSelector: null }
|
||||
],
|
||||
dragDrop: [{ dragSelector: '.inventory-item[data-type="effect"]', dropSelector: null }],
|
||||
tagifyConfigs: []
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,6 @@ export default class DHBaseActorSheet extends DHApplicationMixin(ActorSheetV2) {
|
|||
],
|
||||
dragDrop: [
|
||||
{ dragSelector: '.inventory-item[data-type="attack"]', dropSelector: null },
|
||||
{ dragSelector: '.inventory-item[data-type="attack"] [draggable="true"]', dropSelector: null },
|
||||
{ dragSelector: ".currency[data-currency] .drag-handle", dropSelector: null }
|
||||
]
|
||||
};
|
||||
|
|
|
|||
|
|
@ -35,8 +35,7 @@ export default class DHBaseItemSheet extends DHApplicationMixin(ItemSheetV2) {
|
|||
dragDrop: [
|
||||
{ dragSelector: null, dropSelector: '.drop-section' },
|
||||
{ dragSelector: '.feature-item', dropSelector: null },
|
||||
{ dragSelector: '.inventory-item', dropSelector: null },
|
||||
{ dragSelector: '.inventory-item [draggable="true"]', dropSelector: null }
|
||||
{ dragSelector: '.inventory-item', dropSelector: null }
|
||||
],
|
||||
contextMenus: [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue