#38 - Gestion des armes 1/2mains
This commit is contained in:
@ -25,21 +25,21 @@ export class RdDRollDialog extends Dialog {
|
||||
|
||||
// Common conf
|
||||
let dialogConf = { content: html, title: "Test", buttons: myButtons, default: "rollButton" }
|
||||
let dialogOptions = { classes: ["rdddialog"], width: 600, height: 400, 'z-index': 99999 }
|
||||
let dialogOptions = { classes: ["rdddialog"], width: 600, height: 460, 'z-index': 99999 }
|
||||
|
||||
// Select proper roll dialog template and stuff
|
||||
if (mode == "competence") {
|
||||
dialogConf.title = "Test de compétence"
|
||||
dialogConf.height = 400
|
||||
dialogOptions.height = 420
|
||||
} else if (mode == "arme") {
|
||||
dialogConf.title = "Test de combat/arme"
|
||||
dialogConf.height = 430
|
||||
dialogOptions.height = 440
|
||||
} else if (mode == "carac") {
|
||||
dialogConf.title = "Test de caractéristique"
|
||||
dialogOptions.height = 350
|
||||
dialogOptions.height = 400
|
||||
} else if (mode == "sort") {
|
||||
dialogConf.title = "Lancer un sort"
|
||||
dialogConf.height = 490
|
||||
dialogOptions.height = 460
|
||||
}
|
||||
super(dialogConf, dialogOptions)
|
||||
|
||||
|
Reference in New Issue
Block a user