update tarot frame settings UI
This commit is contained in:
10
app.js
10
app.js
@@ -397,7 +397,15 @@ window.TarotSpreadUi?.init?.({
|
||||
|
||||
window.TarotFrameUi?.init?.({
|
||||
ensureTarotSection,
|
||||
getCards: () => window.TarotSectionUi?.getCards?.() || []
|
||||
getCards: () => window.TarotSectionUi?.getCards?.() || [],
|
||||
getHouseTopCardsVisible: () => window.TarotSectionUi?.getHouseTopCardsVisible?.() !== false,
|
||||
getHouseTopInfoModes: () => window.TarotSectionUi?.getHouseTopInfoModes?.() || {},
|
||||
getHouseBottomCardsVisible: () => window.TarotSectionUi?.getHouseBottomCardsVisible?.() !== false,
|
||||
getHouseBottomInfoModes: () => window.TarotSectionUi?.getHouseBottomInfoModes?.() || {},
|
||||
setHouseTopCardsVisible: (value) => window.TarotSectionUi?.setHouseTopCardsVisible?.(value),
|
||||
setHouseTopInfoMode: (mode, value) => window.TarotSectionUi?.setHouseTopInfoMode?.(mode, value),
|
||||
setHouseBottomCardsVisible: (value) => window.TarotSectionUi?.setHouseBottomCardsVisible?.(value),
|
||||
setHouseBottomInfoMode: (mode, value) => window.TarotSectionUi?.setHouseBottomInfoMode?.(mode, value)
|
||||
});
|
||||
|
||||
sectionStateUi.init?.({
|
||||
|
||||
Reference in New Issue
Block a user