Skip to content

Commit

Permalink
update enable-if tests
Browse files Browse the repository at this point in the history
  • Loading branch information
HJfod committed Aug 28, 2024
1 parent 441fcf0 commit 27e13c6
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,13 @@
"name": "Toggle #1 to Enable",
"enable-if": "test-enable-if"
},
"test-should-be-enabled-desc": {
"type": "bool",
"default": true,
"name": "Toggle #1 to Enable (Desc.)",
"enable-if": "test-enable-if",
"enable-if-description": "Please Enable the First Toggler!"
},
"test-should-be-enabled-explicit": {
"type": "bool",
"default": true,
Expand Down Expand Up @@ -357,12 +364,24 @@
"test-should-be-enabled-int": {
"type": "int",
"default": 0,
"enable-if": "test-enable-if"
"enable-if": "test-enable-if",
"min": -5,
"max": 5,
"control": {
"big-arrows": true,
"slider": true
}
},
"test-should-be-enabled-float": {
"type": "float",
"default": 0,
"enable-if": "test-enable-if"
"enable-if": "test-enable-if",
"min": -5,
"max": 5,
"control": {
"big-arrows": true,
"slider": true
}
},
"test-should-be-enabled-string": {
"type": "string",
Expand Down

0 comments on commit 27e13c6

Please sign in to comment.