diff --git a/module/actor-sheet.js b/module/actor-sheet.js index 2817ad2..dd5add0 100644 --- a/module/actor-sheet.js +++ b/module/actor-sheet.js @@ -11,7 +11,8 @@ export class SimpleActorSheet extends ActorSheet { template: "systems/worldbuilding/templates/actor-sheet.html", width: 600, height: 600, - tabs: [{navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "description"}] + tabs: [{navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "description"}], + dragDrop: [{dragSelector: ".item-list .item", dropSelector: null}] }); } diff --git a/styles/simple.css b/styles/simple.css index 0fe998f..f4090e1 100644 --- a/styles/simple.css +++ b/styles/simple.css @@ -72,26 +72,26 @@ .worldbuilding .editor-content { height: 100%; } -.worldbuilding .items-list { +.worldbuilding .item-list { list-style: none; margin: 7px 0; padding: 0; overflow-y: auto; } -.worldbuilding .items-list .item { +.worldbuilding .item-list .item { height: 30px; line-height: 24px; padding: 3px 0; border-bottom: 1px solid #BBB; } -.worldbuilding .items-list .item img { +.worldbuilding .item-list .item img { flex: 0 0 24px; margin-right: 5px; } -.worldbuilding .items-list .item-name { +.worldbuilding .item-list .item-name { margin: 0; } -.worldbuilding .items-list .item-controls { +.worldbuilding .item-list .item-controls { flex: 0 0 36px; } .worldbuilding .attributes-header { diff --git a/styles/simple.less b/styles/simple.less index a0e684a..ba89e19 100644 --- a/styles/simple.less +++ b/styles/simple.less @@ -80,7 +80,7 @@ } /* Items List */ - .items-list { + .item-list { list-style: none; margin: 7px 0; padding: 0; diff --git a/system.json b/system.json index c4e19fe..441867b 100644 --- a/system.json +++ b/system.json @@ -2,9 +2,9 @@ "name": "worldbuilding", "title": "Simple World-Building", "description": "A minimalist game system with very simple Actor and Item models to support free-form system agnostic gameplay.", - "version": 0.35, - "minimumCoreVersion": "0.5.2", - "compatibleCoreVersion": "0.5.5", + "version": 0.36, + "minimumCoreVersion": "0.5.6", + "compatibleCoreVersion": "0.5.7", "templateVersion": 2, "author": "Atropos", "esmodules": ["module/simple.js"], diff --git a/templates/actor-sheet.html b/templates/actor-sheet.html index 4620fad..c51e2a3 100644 --- a/templates/actor-sheet.html +++ b/templates/actor-sheet.html @@ -35,7 +35,7 @@ {{!-- Owned Items Tab --}}