Correction Fenêtre astrologie v13
This commit is contained in:
@@ -22,7 +22,7 @@ export class AppAstrologie extends Application {
|
||||
title: "Astrologie",
|
||||
width: 'fit-content',
|
||||
height: 'fit-content',
|
||||
classes: ['calendar-astrologie'],
|
||||
classes: ['rdd-calendar-astrologie'],
|
||||
popOut: true,
|
||||
resizable: false
|
||||
}, { inplace: false })
|
||||
|
||||
@@ -94,8 +94,8 @@ export class RdDCalendrier extends Application {
|
||||
_getHeaderButtons() {
|
||||
if (game.user.isGM) {
|
||||
return [
|
||||
{ class: "calendar-astrologie", icon: "fa-solid fa-moon-over-sun", onclick: ev => this.showAstrologieEditor() },
|
||||
{ class: "calendar-set-datetime", icon: "fa-solid fa-calendar-pen", onclick: ev => this.showCalendarEditor() },
|
||||
{ class: "button-calendar-astrologie", icon: "fa-solid fa-moon-over-sun", onclick: ev => this.showAstrologieEditor() },
|
||||
{ class: "button-calendar-set-datetime", icon: "fa-solid fa-calendar-pen", onclick: ev => this.showCalendarEditor() },
|
||||
]
|
||||
}
|
||||
return []
|
||||
@@ -144,12 +144,12 @@ export class RdDCalendrier extends Application {
|
||||
const h = this.html.find(event.currentTarget)?.data('heure');
|
||||
this.positionnerHeure(Number(h));
|
||||
})
|
||||
this.html.find('.calendar-set-datetime').click(ev => {
|
||||
this.html.find('.button-calendar-set-datetime').click(ev => {
|
||||
ev.preventDefault();
|
||||
this.showCalendarEditor();
|
||||
});
|
||||
|
||||
this.html.find('.calendar-astrologie').click(ev => {
|
||||
this.html.find('.button-calendar-astrologie').click(ev => {
|
||||
ev.preventDefault();
|
||||
this.showAstrologieEditor();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user