Merge pull request #115 from argonui/custom-playmat-images
Custom Playmat Images: Account for long label
This commit is contained in:
commit
ee97a3e55f
@ -243,14 +243,14 @@ local DATA = {
|
||||
Name = "VIII - Before the Black Throne 2",
|
||||
URL = "https://i.ibb.co/VNtgH4v/Circle-Undone-8-Before-the-Black-Throne-Greg-Bobrowski.jpg"
|
||||
} },
|
||||
["Side Scenarios (Fan-made)"] = { {
|
||||
["Side Scenarios (FM)"] = { {
|
||||
Name = "Consternation on the Constellation",
|
||||
URL = "https://i.ibb.co/Tw2xBP1/Consternation-Constellation.jpg"
|
||||
}, {
|
||||
Name = "Symphony of Erich Zann",
|
||||
URL = "https://i.ibb.co/SNr8tqN/Symphony-of-Erich-Zann-Hazel-Yingling.jpg"
|
||||
} },
|
||||
["Cyclopean Foundations (Fan-made)"] = { {
|
||||
["Cyclopean Foundations (FM)"] = { {
|
||||
Name = "I - Lost Moorings 1",
|
||||
URL = "https://i.ibb.co/DQ76z3c/Cyclopean-1-Lost-Moorings-Care-Line-Art.png"
|
||||
}, {
|
||||
@ -290,7 +290,7 @@ local DATA = {
|
||||
Name = "VIII - Tomb of Dead Dreams 3",
|
||||
URL = "https://i.ibb.co/vmBM8x2/Cyclopean-8-Tomb-of-Dead-Dreams-Walter-Brocca.png"
|
||||
} },
|
||||
["Dark Matter (Fan-made)"] = { {
|
||||
["Dark Matter (FM)"] = { {
|
||||
Name = "I - Tatterdemalion 1",
|
||||
URL = "https://i.ibb.co/DRMPGVt/Dark-Matter-1-Tatterdemalion-Andrey-Vozny.jpg"
|
||||
}, {
|
||||
@ -676,9 +676,9 @@ local CycleList = {
|
||||
"The Innsmouth Conspiracy",
|
||||
"Edge of the Earth",
|
||||
"Side Scenarios",
|
||||
"Cyclopean Foundations (Fan-made)",
|
||||
"Dark Matter (Fan-made)",
|
||||
"Side Scenarios (Fan-made)"
|
||||
"Cyclopean Foundations (FM)",
|
||||
"Dark Matter (FM)",
|
||||
"Side Scenarios (FM)"
|
||||
}
|
||||
|
||||
-- save the index of selected cycle and table with spawnData
|
||||
@ -699,6 +699,7 @@ function onLoad(savedData)
|
||||
buttonParameters.click_function = "selectCycle"
|
||||
buttonParameters.tooltip = "Select a cycle"
|
||||
buttonParameters.label = CycleList[CycleIndex]
|
||||
buttonParameters.font_size = 90
|
||||
self.createButton(buttonParameters)
|
||||
|
||||
-- index 1: display button
|
||||
|
Loading…
Reference in New Issue
Block a user