fix getter,setter in Button class

This commit is contained in:
onyx-and-iris 2023-07-14 17:08:11 +01:00
parent 2f93fc14f9
commit cccc348378

View File

@ -11,11 +11,11 @@ module Voicemeeter
class Button < IRemote
def getter(type_)
remote.get_buttonstatus(@index, type_)
@remote.get_buttonstatus(@index, type_)
end
def setter(type_, val)
remote.set_buttonstatus(@index, type_, val)
@remote.set_buttonstatus(@index, type_, val)
end
def state