v1.1.1
This commit is contained in:
19
changelog.md
19
changelog.md
@@ -1,19 +1,28 @@
|
|||||||
# Changelog Material Deck Module
|
# Changelog Material Deck Module
|
||||||
|
### v1.1.1 - 09-12-2020
|
||||||
|
Fixes
|
||||||
|
<ul>
|
||||||
|
<li>Fixed issue where deleting a playlist would cause an error preventing the Soundboard Configuration to show up</li>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<b>Compatible server app and SD plugin:</b><br>
|
||||||
|
Material Server v1.0.2 (unchanged): https://github.com/CDeenen/MaterialServer/releases <br>
|
||||||
|
SD plugin v1.1.0 (unchanged): https://github.com/CDeenen/MaterialDeck_SD/releases<br>
|
||||||
|
|
||||||
### v1.1.0 - 09-12-2020
|
### v1.1.0 - 09-12-2020
|
||||||
Fixes
|
Fixes
|
||||||
<ul>
|
<ul>
|
||||||
<li>Settings would not show for Combat Tracker action</li>
|
<li>Settings would not show for Combat Tracker action</li>
|
||||||
<li>Macro Action => Macro Board default settings fixed</li>
|
<li>Macro Action => Macro Board default settings fixed</li>
|
||||||
</ul>
|
<li>API has been improved, making integration with other hardware/software easier, and making future changes/additions easier</li>
|
||||||
Additions/changes:
|
</li>
|
||||||
|
Additions:
|
||||||
<ul>
|
<ul>
|
||||||
<li>Added support for Pathfinder 1e and Shadow of the Demon Lord</li>
|
<li>Added support for Pathfinder 1e and Shadow of the Demon Lord</li>
|
||||||
<li>All dialogs that are openable using the SD can now be closed by pressing the button while the dialog is open</li>
|
<li>All dialogs that are openable using the SD can now be closed by pressing the button while the dialog is open</li>
|
||||||
<li>Playlist Action & Soundboard Action => Stop All now indicates if there are tracks/playlists/sounds playing</li>
|
<li>Playlist Action & Soundboard Action => Stop All now indicates if there are tracks/playlists/sounds playing</li>
|
||||||
<li>Confirmed Foundry 0.7.8 compatibility</li>
|
<li>Confirmed Foundry 0.7.8 compatibility</li>
|
||||||
<li>API has been improved, making integration with other hardware/software easier, and making future changes/additions easier</li>
|
</li>
|
||||||
<li>Moved default images to Foundry module side instead of Stream Deck plugin</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<b>Compatible server app and SD plugin:</b><br>
|
<b>Compatible server app and SD plugin:</b><br>
|
||||||
Material Server v1.0.2 (unchanged): https://github.com/CDeenen/MaterialServer/releases <br>
|
Material Server v1.0.2 (unchanged): https://github.com/CDeenen/MaterialServer/releases <br>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"name": "MaterialDeck",
|
"name": "MaterialDeck",
|
||||||
"title": "Material Deck",
|
"title": "Material Deck",
|
||||||
"description": "Material Deck allows you to control Foundry using an Elgato Stream Deck",
|
"description": "Material Deck allows you to control Foundry using an Elgato Stream Deck",
|
||||||
"version": "1.1.0",
|
"version": "1.1.1",
|
||||||
"author": "CDeenen",
|
"author": "CDeenen",
|
||||||
"esmodules": [
|
"esmodules": [
|
||||||
"./MaterialDeck.js"
|
"./MaterialDeck.js"
|
||||||
|
|||||||
@@ -65,6 +65,7 @@ export class MacroControl{
|
|||||||
if (macroId != undefined){
|
if (macroId != undefined){
|
||||||
let macro = game.macros._source.find(p => p._id == macroId);
|
let macro = game.macros._source.find(p => p._id == macroId);
|
||||||
if (macro != undefined) {
|
if (macro != undefined) {
|
||||||
|
console.log(macro);
|
||||||
name += macro.name;
|
name += macro.name;
|
||||||
src += macro.img;
|
src += macro.img;
|
||||||
}
|
}
|
||||||
|
|||||||
10
src/misc.js
10
src/misc.js
@@ -359,8 +359,14 @@ export class soundboardConfigForm extends FormApplication {
|
|||||||
else if (this.settings.selectedPlaylists[iteration] == 'FP') selectedPlaylist = 'FP';
|
else if (this.settings.selectedPlaylists[iteration] == 'FP') selectedPlaylist = 'FP';
|
||||||
else {
|
else {
|
||||||
const pl = game.playlists.entities.find(p => p._id == this.settings.selectedPlaylists[iteration]);
|
const pl = game.playlists.entities.find(p => p._id == this.settings.selectedPlaylists[iteration]);
|
||||||
selectedPlaylist = pl._id;
|
if (pl == undefined){
|
||||||
sounds = pl.sounds;
|
selectedPlaylist = 'none';
|
||||||
|
sounds = [];
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
sounds = pl.sounds;
|
||||||
|
selectedPlaylist = pl._id;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
let styleSS = "";
|
let styleSS = "";
|
||||||
let styleFP ="display:none";
|
let styleFP ="display:none";
|
||||||
|
|||||||
Reference in New Issue
Block a user