Commit 37e33c68 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

fix regression with the "scale" checkbox value not getting sent to Pd

parent b56992f0
......@@ -416,10 +416,10 @@ function apply() {
var slot5 = +document.getElementsByName("log-scaling")[0].checked;
// Hack to accomodate the vu-scale property, which exists in the same
// slot as this one
var log_scaling_spanner = document.getElementsByClassName("log-scaling")[0];
var log_display = log_scaling_spanner.style.getPropertyValue("display");
var log_scaling_div = document.querySelector(".log-scaling");
var no_log_display = log_scaling_div.classList.contains("hidden");
if (log_display === null) {
if (no_log_display) {
slot5 = +document.getElementsByName("vu-scale")[0].checked;
pdgui.post("slot five is " + slot5);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment