- Added "send to chat" button on items sheets.

- Minor fixe on editable state.
This commit is contained in:
Vlyan
2021-08-01 16:45:11 +02:00
parent f1af271a3b
commit f3bbcd7499
15 changed files with 87 additions and 22 deletions

View File

@@ -188,7 +188,7 @@ export class TwentyQuestionsDialog extends FormApplication {
});
// *** Everything below here is only needed if the sheet is editable ***
if (!this.options.editable) {
if (!this.isEditable) {
return;
}
@@ -228,7 +228,7 @@ export class TwentyQuestionsDialog extends FormApplication {
*/
async _onDropItem(type, event) {
// *** Everything below here is only needed if the sheet is editable ***
if (!this.options.editable) {
if (!this.isEditable) {
return;
}