mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2025-01-18 13:20:47 +00:00
getters now return boolean values
This commit is contained in:
parent
ec296059d4
commit
a642dfd154
@ -20,7 +20,7 @@ class MacroButton {
|
||||
|
||||
hidden $_state = $($this | Add-Member ScriptProperty 'state' `
|
||||
{
|
||||
$this.Getter(1)
|
||||
[bool]$this.Getter(1)
|
||||
} `
|
||||
{
|
||||
param($arg)
|
||||
@ -30,7 +30,7 @@ class MacroButton {
|
||||
|
||||
hidden $_stateonly = $($this | Add-Member ScriptProperty 'stateonly' `
|
||||
{
|
||||
$this.Getter(2)
|
||||
[bool]$this.Getter(2)
|
||||
} `
|
||||
{
|
||||
param($arg)
|
||||
@ -40,7 +40,7 @@ class MacroButton {
|
||||
|
||||
hidden $_trigger = $($this | Add-Member ScriptProperty 'trigger' `
|
||||
{
|
||||
$this.Getter(3)
|
||||
[bool]$this.Getter(3)
|
||||
} `
|
||||
{
|
||||
param($arg)
|
||||
|
Loading…
Reference in New Issue
Block a user