mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-21 15:03:37 +02:00
[Feature] Updates to inventory icons, context menus, action use, and observer visibility (#1814)
* Update inventory controls and permissions filtering * Also disable prosemirror editors * Address context menu deprecation warnings * Fix context menu detection for actions * Refine logic for use action when hovering over item icon
This commit is contained in:
parent
f2ec5ef458
commit
f850cbda76
28 changed files with 222 additions and 215 deletions
|
|
@ -22,7 +22,7 @@
|
|||
type='weapon'
|
||||
collection=@root.inventory.weapons
|
||||
isGlassy=true
|
||||
canCreate=true
|
||||
canCreate=@root.editable
|
||||
hideResources=true
|
||||
}}
|
||||
{{> 'daggerheart.inventory-items'
|
||||
|
|
@ -30,7 +30,7 @@
|
|||
type='armor'
|
||||
collection=@root.inventory.armor
|
||||
isGlassy=true
|
||||
canCreate=true
|
||||
canCreate=@root.editable
|
||||
hideResources=true
|
||||
}}
|
||||
{{> 'daggerheart.inventory-items'
|
||||
|
|
@ -38,7 +38,7 @@
|
|||
type='consumable'
|
||||
collection=@root.inventory.consumables
|
||||
isGlassy=true
|
||||
canCreate=true
|
||||
canCreate=@root.editable
|
||||
isQuantifiable=true
|
||||
}}
|
||||
{{> 'daggerheart.inventory-items'
|
||||
|
|
@ -46,8 +46,8 @@
|
|||
type='loot'
|
||||
collection=@root.inventory.loot
|
||||
isGlassy=true
|
||||
canCreate=true
|
||||
showActions=true
|
||||
canCreate=@root.editable
|
||||
showActions=@root.editable
|
||||
isQuantifiable=true
|
||||
}}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue