getters now return boolean values

This commit is contained in:
onyx-and-iris 2022-12-16 17:27:58 +00:00
parent ec296059d4
commit a642dfd154

View File

@ -20,7 +20,7 @@ class MacroButton {
hidden $_state = $($this | Add-Member ScriptProperty 'state' ` hidden $_state = $($this | Add-Member ScriptProperty 'state' `
{ {
$this.Getter(1) [bool]$this.Getter(1)
} ` } `
{ {
param($arg) param($arg)
@ -30,7 +30,7 @@ class MacroButton {
hidden $_stateonly = $($this | Add-Member ScriptProperty 'stateonly' ` hidden $_stateonly = $($this | Add-Member ScriptProperty 'stateonly' `
{ {
$this.Getter(2) [bool]$this.Getter(2)
} ` } `
{ {
param($arg) param($arg)
@ -40,7 +40,7 @@ class MacroButton {
hidden $_trigger = $($this | Add-Member ScriptProperty 'trigger' ` hidden $_trigger = $($this | Add-Member ScriptProperty 'trigger' `
{ {
$this.Getter(3) [bool]$this.Getter(3)
} ` } `
{ {
param($arg) param($arg)