Fix notes + CSS

This commit is contained in:
2023-10-25 00:00:30 +02:00
parent 8af5851246
commit 2c92dd6ef9
30 changed files with 81 additions and 68 deletions

View File

@@ -19,20 +19,6 @@ export class MaleficesItemSheet extends ItemSheet {
});
}
/* -------------------------------------------- */
_getHeaderButtons() {
let buttons = super._getHeaderButtons();
// Add "Post to chat" button
// We previously restricted this to GM and editable items only. If you ever find this comment because it broke something: eh, sorry!
buttons.unshift(
{
class: "post",
icon: "fas fa-comment",
onclick: ev => { }
})
return buttons
}
/* -------------------------------------------- */
/** @override */
setPosition(options = {}) {