Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(release): prep for 2.1.1 release #208

Merged
merged 1 commit into from
Jun 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"name": "x0d0a"
}
],
"version": "2.1.0",
"version": "2.1.1",
"compatibility": {
"minimum": 12,
"verified": "12"
Expand Down Expand Up @@ -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"],
Expand Down
2 changes: 1 addition & 1 deletion release-notes.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
11 changes: 6 additions & 5 deletions scripts/title_cards.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ export function title_cards_dialog() {
<input type='text' name='toptext-2' margin-right: 10px margin-left: 10px></input>
</p>
<p>
<label>${game.i18n.localize("ffg-star-wars-enhancements.controls.title-cards.bottomtext-label-2")}</label>
<label>${game.i18n.localize(
"ffg-star-wars-enhancements.controls.title-cards.bottomtext-label-2"
)}</label>
<input type='text' name='bottomtext-2'></input>
</p>
</div>
Expand Down Expand Up @@ -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"),
Expand Down Expand Up @@ -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"),
Expand Down Expand Up @@ -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"),
Expand Down Expand Up @@ -480,4 +482,3 @@ class title_cards_UISettings extends FormApplication {
}
}
}

10 changes: 5 additions & 5 deletions templates/title_cards.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="title-cards-bg">
<div class="title-cards-logo">
<div class="title-cards-logo">
<div class="logo noselect">
{{#if logo}}
<img src="{{logo}}">
Expand Down Expand Up @@ -43,7 +43,7 @@
display: flex;
justify-content: center;
}

.title-cards-text-logo {
position: absolute;
display: flex;
Expand Down Expand Up @@ -113,15 +113,15 @@
font-size: {{bottomSize}}px;
align-items: flex-start;
}

.top-text-logo,
.bottom-text-logo {
flex: 1;
display: flex;
line-height: 100%;

}

.top-text-logo {
font-size: {{topSize2}}px;
align-items: flex-end;
Expand Down Expand Up @@ -149,7 +149,7 @@
opacity: 0;
}
}

@keyframes zoomIn {
from {
transform: translate(-50%, -50%) scale(1);
Expand Down
Loading