Commit 1820f9d9 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

AudioPlaylistView: do the computation in float

parent 1f7b88a7
......@@ -134,7 +134,7 @@ public class AudioPlaylistView extends ListView {
if (mIsDragging) {
canvas.save();
// Position the drag shadow.
float posY = mTouchY - mDragShadow.getMeasuredHeight() / 2;
float posY = mTouchY - (float)mDragShadow.getMeasuredHeight() / 2;
canvas.translate(0, posY);
mDragShadow.draw(canvas);
canvas.restore();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment