From 9fb4b9ea4b968796ae369d7ef586174e15f41f22 Mon Sep 17 00:00:00 2001
From: Wrycu
Date: Sat, 15 Jun 2024 23:47:04 -0700
Subject: [PATCH] chore(release): prep for 2.1.1 release
* includes prettier fixes
---
module.json | 4 ++--
release-notes.md | 2 +-
scripts/title_cards.js | 11 ++++++-----
templates/title_cards.html | 10 +++++-----
4 files changed, 14 insertions(+), 13 deletions(-)
diff --git a/module.json b/module.json
index 2955dad..df26bd6 100644
--- a/module.json
+++ b/module.json
@@ -23,7 +23,7 @@
"name": "x0d0a"
}
],
- "version": "2.1.0",
+ "version": "2.1.1",
"compatibility": {
"minimum": 12,
"verified": "12"
@@ -79,7 +79,7 @@
"socket": true,
"url": "https://github.com/wrycu/StarWarsFFG-Enhancements",
"manifest": "https://github.com/wrycu/StarWarsFFG-Enhancements/releases/latest/download/module.json",
- "download": "https://github.com/wrycu/StarWarsFFG-Enhancements/releases/download/2.1.0/module.zip",
+ "download": "https://github.com/wrycu/StarWarsFFG-Enhancements/releases/download/2.1.1/module.zip",
"license": "LICENSE",
"readme": "README.md",
"esmodules": ["ffg-star-wars-enhancements.js"],
diff --git a/release-notes.md b/release-notes.md
index ae12c97..d9cce78 100644
--- a/release-notes.md
+++ b/release-notes.md
@@ -1,4 +1,4 @@
-`2.1.1` - ?
+`2.1.1` - 2024-06-15
- IMPROVEMENT: Various title card improvements ([#203](https://github.com/wrycu/StarWarsFFG-Enhancements/issues/203)) (thanks `KamiliaBlow!`)
- Font color can now be configured
diff --git a/scripts/title_cards.js b/scripts/title_cards.js
index 2dd87e7..82c3fb4 100644
--- a/scripts/title_cards.js
+++ b/scripts/title_cards.js
@@ -13,7 +13,9 @@ export function title_cards_dialog() {
-
+
@@ -88,7 +90,7 @@ export function init() {
filePicker: "folder",
default: "",
});
- game.settings.register("ffg-star-wars-enhancements", "title-cards-text-color", {
+ game.settings.register("ffg-star-wars-enhancements", "title-cards-text-color", {
module: "ffg-star-wars-enhancements",
name: game.i18n.localize("ffg-star-wars-enhancements.title-cards.title-cards-text-color"),
hint: game.i18n.localize("ffg-star-wars-enhancements.title-cards.title-cards-text-color-hint"),
@@ -116,7 +118,7 @@ export function init() {
type: Number,
default: 0.0,
});
- game.settings.register("ffg-star-wars-enhancements", "title-cards-top-font-size-2", {
+ game.settings.register("ffg-star-wars-enhancements", "title-cards-top-font-size-2", {
module: "ffg-star-wars-enhancements",
name: game.i18n.localize("ffg-star-wars-enhancements.title-cards.title-cards-top-font-size-2"),
hint: game.i18n.localize("ffg-star-wars-enhancements.title-cards.title-cards-top-font-size-hint-2"),
@@ -188,7 +190,7 @@ export function init() {
type: Number,
default: 5,
});
- game.settings.register("ffg-star-wars-enhancements", "title-cards-zoom-speed", {
+ game.settings.register("ffg-star-wars-enhancements", "title-cards-zoom-speed", {
module: "ffg-star-wars-enhancements",
name: game.i18n.localize("ffg-star-wars-enhancements.title-cards.title-cards-zoom-speed"),
hint: game.i18n.localize("ffg-star-wars-enhancements.title-cards.title-cards-zoom-speed-hint"),
@@ -480,4 +482,3 @@ class title_cards_UISettings extends FormApplication {
}
}
}
-
diff --git a/templates/title_cards.html b/templates/title_cards.html
index 58411a5..848a4d2 100644
--- a/templates/title_cards.html
+++ b/templates/title_cards.html
@@ -1,5 +1,5 @@
-
+
{{#if logo}}
@@ -43,7 +43,7 @@
display: flex;
justify-content: center;
}
-
+
.title-cards-text-logo {
position: absolute;
display: flex;
@@ -113,7 +113,7 @@
font-size: {{bottomSize}}px;
align-items: flex-start;
}
-
+
.top-text-logo,
.bottom-text-logo {
flex: 1;
@@ -121,7 +121,7 @@
line-height: 100%;
}
-
+
.top-text-logo {
font-size: {{topSize2}}px;
align-items: flex-end;
@@ -149,7 +149,7 @@
opacity: 0;
}
}
-
+
@keyframes zoomIn {
from {
transform: translate(-50%, -50%) scale(1);