diff --git a/src/core/Global.ttslua b/src/core/Global.ttslua index 46dc2a71..c46e0403 100644 --- a/src/core/Global.ttslua +++ b/src/core/Global.ttslua @@ -615,9 +615,15 @@ end local PlayerMatAPI = require("playermat/PlaymatApi") function onClick_applySettings() - printToAll("---------------------", "White") - printToAll("Applying settings...", "White") + local printed = false + for id, state in pairs(optionPanel) do + if not printed then + printToAll("---------------------", "White") + printToAll("Applying settings...", "White") + printed = true + end + if state then print(id) end -- option 1: Snap tags @@ -627,6 +633,12 @@ function onClick_applySettings() end end + + if not printed then + printToAll("---------------------", "White") + printToAll("Not settings selected!", "White") + end + end function onClick_toggleUi(_, title) diff --git a/xml/Global.xml b/xml/Global.xml index fcb08160..89a4626b 100644 --- a/xml/Global.xml +++ b/xml/Global.xml @@ -1,31 +1,29 @@ - - + + + Option Panel + + + + + PLAYERMATS + + + + + Enable snap tags + Only cards with the tag "Asset" will snap (official cards are supported by default). Disable this if you are having issues with custom content. + + + + + Toggle Text 2 + Description for Option 2 + + + + + Toggle Text 3 + Description for Option 3 + + + + + + + Group 2 + + + + Toggle Text 4 + Description for Option 4 + + + + + Toggle Text 5 + Description for Option 5 + + + + + Toggle Text 6 + Description for Option 6 + + + + + + + Group 3 + + + + Toggle Text 7 + Description for Option 7 + + + + + Toggle Text 8 + Description for Option 8 + + + + + + + + \ No newline at end of file