rgb: fix long standing (presumably) issue with touchstate, affecting editor' colorpicker as well
This commit is contained in:
parent
c450c6133c
commit
3b792d2431
2 changed files with 3 additions and 3 deletions
|
|
@ -110,9 +110,6 @@ module.exports = class Rgb extends Widget {
|
|||
initValue[3] = this.getProp('rangeAlpha').min
|
||||
}
|
||||
|
||||
|
||||
touchstate(this, {element: this.widget, multitouch: true, ignoreCustomBindings: true})
|
||||
|
||||
if (this.getProp('spring')) {
|
||||
|
||||
this.on('dragend', (e)=>{
|
||||
|
|
@ -124,6 +121,7 @@ module.exports = class Rgb extends Widget {
|
|||
|
||||
}
|
||||
|
||||
touchstate(this, {element: this.widget, multitouch: true, ignoreCustomBindings: false})
|
||||
|
||||
this.hsb = {h:0,s:0,b:0}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue