resolving comments

This commit is contained in:
Chr1Z93 2023-01-03 23:04:59 +01:00
parent b5d0731208
commit 707b977efc
2 changed files with 5 additions and 5 deletions

View File

@ -820,8 +820,8 @@ function applyOptionPanelChange(id, state)
-- update master clue counter -- update master clue counter
getObjectFromGUID("4a3aa4").setVar("useClickableCounters", state) getObjectFromGUID("4a3aa4").setVar("useClickableCounters", state)
-- option: Draw 1 button -- option: Play area snap tags
elseif id == "PlayAreaSnapTags" then elseif id == "playAreaSnapTags" then
playAreaAPI.setLimitSnapsByType(state) playAreaAPI.setLimitSnapsByType(state)
optionPanel[id] = state optionPanel[id] = state
@ -951,7 +951,7 @@ function onClick_defaultSettings()
-- clean reset of variable -- clean reset of variable
optionPanel = { optionPanel = {
useSnapTags = true, useSnapTags = true,
PlayAreaSnapTags = false, playAreaSnapTags = false,
showDrawButton = false, showDrawButton = false,
useClueClickers = false, useClueClickers = false,
showTitleSplash = true, showTitleSplash = true,

View File

@ -151,8 +151,8 @@
</VerticalLayout> </VerticalLayout>
</Cell> </Cell>
<Cell class="option-button"> <Cell class="option-button">
<Toggle id="PlayAreaSnapTags" <Toggle id="playAreaSnapTags"
onValueChanged="onClick_toggleOption(PlayAreaSnapTags)"/> onValueChanged="onClick_toggleOption(playAreaSnapTags)"/>
</Cell> </Cell>
</Row> </Row>