Skip to content
This repository has been archived by the owner. It is now read-only.

remove isSwipeTrackingFromScrollEventsEnabled #8476

Merged
merged 1 commit into from Apr 29, 2017
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

@@ -7,7 +7,6 @@ const ImmutableComponent = require('../../app/renderer/components/immutableCompo
const Immutable = require('immutable')
const electron = require('electron')
const ipc = electron.ipcRenderer
const systemPreferences = electron.remote.systemPreferences

// Actions
const appActions = require('../actions/appActions')
@@ -234,7 +233,7 @@ class Main extends ImmutableComponent {

// isSwipeTrackingFromScrollEventsEnabled is only true if "two finger scroll to swipe" is enabled
ipc.on('scroll-touch-begin', () => {
if (swipeGesture && systemPreferences.isSwipeTrackingFromScrollEventsEnabled()) {
if (swipeGesture) {
trackingFingers = true
startTime = (new Date()).getTime()
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.