Skip to content

Commit

Permalink
Update and Fixes 1.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Kekilla0 committed Nov 11, 2020
1 parent 7527907 commit 4890583
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 26 deletions.
8 changes: 4 additions & 4 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"title" : "Item Macro",
"description" : "A module that allows macros to be stored in items and executed in various places.",
"author" : "Kekilla#7036",
"version" : "v1.3.1",
"version" : "v1.3.2",
"minimumCoreVersion" : "0.6.0",
"compatibleCoreVersion": "0.6.6",
"compatibleCoreVersion": "0.7.6",
"esmodules" : ["scripts/main.js"],
"styles" : ["styles/macro-config.css","styles/button-config.css"],
"styles" : ["styles/button-config.css"],
"systems" : ["dnd5e", "sfrpg", "swade"],
"languages" : [
{
Expand All @@ -18,5 +18,5 @@
],
"url" : "https://github.com/Kekilla0/Item-Macro",
"manifest" : "https://github.com/Kekilla0/Item-Macro/raw/master/module.json",
"download" : "https://github.com/Kekilla0/Item-Macro/archive/v1.3.1.zip"
"download" : "https://github.com/Kekilla0/Item-Macro/archive/v1.3.2.zip"
}
4 changes: 3 additions & 1 deletion scripts/itemMacro.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ItemMacro extends MacroConfig
static get defaultOptions(){
return mergeObject(super.defaultOptions, {
template : "modules/itemacro/templates/macro-config.html",
classes : ["item-macro-sheet", "sheet"]
classes : ["macro-sheet", "sheet"]
});
}
/*override*/
Expand Down Expand Up @@ -60,6 +60,8 @@ class ItemMacro extends MacroConfig
html.closest('.app').find('.open-itemacro').remove();
let titleElement = html.closest('.app').find('.window-title');
openButton.insertAfter(titleElement);


}
}
}
Expand Down
20 changes: 0 additions & 20 deletions styles/macro-config.css

This file was deleted.

2 changes: 1 addition & 1 deletion templates/macro-config.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ <h1><input name="name" type="text" value="{{entity.name}}" placeholder="Name" di
<select name="type" disabled>
{{#select entity.type}}
{{#each macroTypes}}
<option value="{{this}}">{{this}}</option>
<option value="{{this}}">{{this}}</option>
{{/each}}
{{/select}}
</select>
Expand Down

0 comments on commit 4890583

Please sign in to comment.