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
getObjectFromGUID("4a3aa4").setVar("useClickableCounters", state)
-- option: Draw 1 button
elseif id == "PlayAreaSnapTags" then
-- option: Play area snap tags
elseif id == "playAreaSnapTags" then
playAreaAPI.setLimitSnapsByType(state)
optionPanel[id] = state
@ -951,7 +951,7 @@ function onClick_defaultSettings()
-- clean reset of variable
optionPanel = {
useSnapTags = true,
PlayAreaSnapTags = false,
playAreaSnapTags = false,
showDrawButton = false,
useClueClickers = false,
showTitleSplash = true,

View File

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