diff options
author | David Robillard <d@drobilla.net> | 2016-10-02 19:30:15 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-10-02 19:30:15 -0400 |
commit | 84960435d40ed4726d17e5fe4ab5caac791ec2e5 (patch) | |
tree | e2a6a30c3301e9a043b83a6bfc4bab710e9de7dd | |
parent | 96ad50eace0ce62e6d0646760c8b039549be14f6 (diff) | |
download | ganv-84960435d40ed4726d17e5fe4ab5caac791ec2e5.tar.gz ganv-84960435d40ed4726d17e5fe4ab5caac791ec2e5.tar.bz2 ganv-84960435d40ed4726d17e5fe4ab5caac791ec2e5.zip |
Round reported value for integer control ports
-rw-r--r-- | src/port.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -639,7 +639,7 @@ ganv_port_set_control_value_internal(GanvPort* port, ganv_port_set_control_value(port, value); // Fire signal to notify user value has changed - const double dvalue = value; + const double dvalue = port->impl->control->value; g_signal_emit(port, port_signals[PORT_VALUE_CHANGED], 0, dvalue, NULL); } |