Revert "multixy/range: simultaneous touch releases not working correctly when spring is set and feedback values are received shortly after being sent"
This reverts commit 911c318cc1.
This commit is contained in:
parent
2802b3955a
commit
29bcc5fe66
2 changed files with 1 additions and 3 deletions
|
|
@ -16,7 +16,6 @@
|
|||
- broken cli when `ELECTRON_RUN_AS_NODE` is set
|
||||
- inspector: input bug when a code editor was focused using the tab key
|
||||
- inspector: prevent editing non-editable widgets (e.g matrix items) when clicking on their ids in error logs
|
||||
- multixy/range: simultaneous touch releases not working correctly when `spring` is set and feedback values are received shortly after being sent
|
||||
|
||||
- widgets
|
||||
- fader: add `touchZone` property to allow restricting interaction to a part of the widget
|
||||
|
|
|
|||
|
|
@ -18,14 +18,13 @@ module.exports = (self, options)=>{
|
|||
|
||||
self.on('dragend', (e)=>{
|
||||
if (self.touched == 1) {
|
||||
self.touched = 0
|
||||
|
||||
if (self.setValueTouchedQueue !== undefined) {
|
||||
self.setValue(...self.setValueTouchedQueue)
|
||||
self.setValueTouchedQueue = undefined
|
||||
}
|
||||
|
||||
self.touched = 0
|
||||
|
||||
self.trigger('touch', {stopPropagation: true, touch: 0})
|
||||
|
||||
} else if (self.touched > 1){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue