We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b686595 commit 85cc153Copy full SHA for 85cc153
src/ruis/widget/base/touch/flickable.cpp
@@ -27,7 +27,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
27
using namespace ruis::touch;
28
29
flickable::flickable(utki::shared_ref<ruis::context> context) :
30
- friction(context.get().units.dots_per_pp() * 0.005)
+ friction(context.get().units.dots_per_pp() * ruis::real(0.005)) // TODO: magic constant
31
{}
32
33
ruis::event_status flickable::on_mouse_button(const mouse_button_event& event)
0 commit comments