substrate icon indicating copy to clipboard operation
substrate copied to clipboard

Change default value from 1 to 2

Open nlisker opened this issue 3 years ago • 1 comments

Changes the value of -Dmonocle.input.touchRadius from 1 to 2.

Fixes #1183

Progress

nlisker avatar Oct 31 '22 14:10 nlisker

Do not do this.

Changing the default value from 1 to 2 imposes that change onto all developers' applications. This change comes at the cost of scrolling lists no longer moving in a smooth, fluid manner. Instead, the widgets being scrolled shift in a choppy / shakey undesirable fashion. This becoming "the norm" of an app built using GluonFX will hurt its brand.

An appropriate fix (with demonstration code provided here) proves the default value of monocle.input.touchRadius = 1 can remain, and still, the GluonFX touch/drag events work as expected across all devices, including the problematic Samsung.

Anyone that still has cause to want to increase monocle.input.touchRadius to value of 2 or greater can still do so onto their own application without burdening the entire community to override that change back to 1 in their own apps' configuration.

javateer avatar Dec 01 '22 18:12 javateer