public GesturesEngine() { this.parameters = GestureDetectionParameters.Current; this.holdTimer = new Timer(); this.holdTimer.Tick += (obj, ev) => { this.holdTimer.Enabled = false; if (this.canBeHold) { this.RaiseHold(); this.canBeHold = false; this.MouseUp(this.prevDownPoint); } }; }
public GesturesEngine() { this.parameters = GestureDetectionParameters.Current; this.holdTimer = new Timer(); this.holdTimer.Tick += (obj, ev) => { this.holdTimer.Enabled = false; if (this.canBeHold) { this.RaiseHold(); this.canBeHold = false; this.MouseUp(this.prevDownPoint); } }; }
public GesturesEngine() { this.parameters = GestureDetectionParameters.Current; //! Fork: fleuxdesktop2, Change Set c3b9c68e6c31 this.holdTimer = new Timer(); this.holdTimer.Tick += (obj, ev) => { this.holdTimer.Enabled = false; if (this.canBeHold) { this.RaiseHold(); this.canBeHold = false; this.MouseUp(this.prevDownPoint); } }; }