rgb: remove touchAddress option, it would require a specific implementation to work

This commit is contained in:
jean-emmanuel 2018-01-25 12:31:14 +01:00
parent 1d90168c3b
commit 780c5c00eb
2 changed files with 2 additions and 5 deletions

View file

@ -12,6 +12,7 @@
- inputs: **new** `keys` widget, for keyboard bindings
- property inheritance: new special property name `_value` (retrieve the widget's value, and update when it changes)
- switch: added `showValues` to display both values and labels in the buttons
- rgb: **removed** `touchAddress` option
- misc
- event system rewritten
- js build size reduced

View file

@ -2,8 +2,7 @@ var _pads_base = require('./_pads_base'),
Xy = require('./xy'),
Fader = require('./_fake_fader'),
{clip, hsbToRgb, rgbToHsb} = require('../utils'),
Input = require('../inputs/input'),
touchstate = require('../mixins/touch_state')
Input = require('../inputs/input')
var faderDefaults = Fader.defaults(),
xyDefaults = Xy.defaults()
@ -40,7 +39,6 @@ module.exports = class Rgb extends _pads_base {
precision:0,
address:'auto',
touchAddress:'',
preArgs:[],
split:false,
target:[]
@ -105,8 +103,6 @@ module.exports = class Rgb extends _pads_base {
this.dragHandle()
})
touchstate(this)
if (this.getProp('input')) {
this.input = new Input({