Skip to content

Commit 85cc153

Browse files
committed
fix lint
1 parent b686595 commit 85cc153

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ruis/widget/base/touch/flickable.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
2727
using namespace ruis::touch;
2828

2929
flickable::flickable(utki::shared_ref<ruis::context> context) :
30-
friction(context.get().units.dots_per_pp() * 0.005)
30+
friction(context.get().units.dots_per_pp() * ruis::real(0.005)) // TODO: magic constant
3131
{}
3232

3333
ruis::event_status flickable::on_mouse_button(const mouse_button_event& event)

0 commit comments

Comments
 (0)