mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
[PR] Changing the drag targets in the inventory item v2 template (#1443)
* Adding styles to make the text div take up the full area of the inventory items * Moving the draggable spots to internal divs and images * For better visuals in dragDrop, always make the drag image the first image selected * Fixing the dragDrop behavior on the sidebar, which still uses the classic layout * Fixing other uses of dragDrop to handle the layout change * Moving the draggable attribute to the parent img-portrait from img directly * Switching to the less pretty version of the drag drop in case of currency problems * Reverting how the dragSelector DEFAULT_OPTION is set and only modifying a few * Removing extra space in styles/less/global/inventory-item.less Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com> * Fixing up the character sheet to once again allow selecting the text areas --------- Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>
This commit is contained in:
parent
51eadc499f
commit
a168d8de65
6 changed files with 18 additions and 8 deletions
|
|
@ -40,7 +40,7 @@ export default class Party extends DHBaseActorSheet {
|
|||
selectRefreshable: DaggerheartMenu.selectRefreshable,
|
||||
refreshActors: DaggerheartMenu.refreshActors
|
||||
},
|
||||
dragDrop: [{ dragSelector: '[data-item-id][draggable="true"]', dropSelector: null }]
|
||||
dragDrop: [{ dragSelector: '[data-item-id]', dropSelector: null }]
|
||||
};
|
||||
|
||||
/**@override */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue