Skip to content

Commit

Permalink
Corrections mineures pour #180
Browse files Browse the repository at this point in the history
Déplacement et filtrage des icônes
Remontée du titre pour bien afficher les j, g, p, q ...
Test d'une coloration de l'écran en BW
Prise en compte de la taille de police pour les Impressions
  • Loading branch information
Gulix committed Sep 5, 2017
1 parent 44e2939 commit c536709
Showing 1 changed file with 15 additions and 17 deletions.
32 changes: 15 additions & 17 deletions src/js/templates/dw-acritarche.json
Expand Up @@ -42,6 +42,18 @@
"name": "name",
"label": "Nom",
"default": "Le Gué des Fées"
}, {
"name": "icontype",
"label": "Icône principale",
"default": "card-location",
"type": "options",
"sharedOptions": { "key": "icons", "options": [ "card-area", "card-creature", "card-danger", "card-discovery", "card-npc", "card-region", "card-location", "card-treasure" ] }
}, {
"name": "icon1",
"label": "Danger / Découverte",
"default": "logo-danger-discovery",
"type": "options",
"sharedOptions": { "key": "icons", "options": [ "logo-danger-discovery", "logo-discovery", "logo-danger" ] }
},{
"name": "marqueurs",
"label": "Marqueurs",
Expand Down Expand Up @@ -94,20 +106,6 @@
"label": "Icônes",
"type": "group",
"expanded": true
}, {
"name": "icontype",
"label": "Icône principale",
"default": "card-location",
"type": "options",
"sharedOptions": "icons",
"group": "grpIcones"
}, {
"name": "icon1",
"label": "Icône 1",
"default": "logo-danger-discovery",
"type": "options",
"sharedOptions": "icons",
"group": "grpIcones"
}, {
"name": "icon2",
"label": "Icône 2",
Expand Down Expand Up @@ -154,7 +152,7 @@
{
"type": "path",
"id": "cadres",
"fill": "{{ value = card[blackwhite] ? '#FFFFFF' : card[color1].toHexString(); }}",
"fill": "{{ value = card[blackwhite] ? '#BBB' : card[color1].toHexString(); }}",
"stroke": "{{ value = card[blackwhite] ? '#000000' : null; }}",
"strokeWidth": 0.5,
"path": "./js/templates/dw-svg/ETS-Type1-Couleur1.svg"
Expand Down Expand Up @@ -275,7 +273,7 @@
},{
"type": "textbox",
"left": 61,
"top": 14,
"top": 11,
"width": 308,
"height": 27,
"fill": "{{value = card[blackwhite] ? '#000' : (tinycolor.mostReadable(card[color1].toHexString(), ['#FFF', '#888', '#000']).toHexString());}}",
Expand Down Expand Up @@ -307,7 +305,7 @@
"height": 170,
"fill": "rgb(0,0,0)",
"text": "$impressions$",
"fontSize": 16,
"fontSize": "$impressions_fontsize",
"fontFamily": "Lora",
"lineHeight": 1.16
}, {
Expand Down

0 comments on commit c536709

Please sign in to comment.