csound: Fix score-offset getter

Name of the property was wrong
This commit is contained in:
Thibault Saunier 2022-08-29 15:28:36 -04:00
parent 052092cd2e
commit 25465fd9f3

View file

@ -419,11 +419,11 @@ impl ObjectImpl for CsoundFilter {
let settings = self.settings.lock().unwrap();
settings.csd_text.to_value()
}
"score_offset" => {
"score-offset" => {
let settings = self.settings.lock().unwrap();
settings.offset.to_value()
}
_ => unimplemented!(),
name => panic!("No getter for {name}"),
}
}
}