Commit ef54d510 authored by Eike Hein's avatar Eike Hein

Revert c0f88567.

It made icon positioning on drop behave extremely erratically in
practice, and unfortunately it went ignoring review comments.
parent 5ae880f8
......@@ -1104,11 +1104,6 @@ FocusScope {
var from = -1;
var to = -1;
// round the drop pos to half of an item's size to have a more exact
// placement in the grid and avoid jumping items
dropPos.x = Math.floor((2 * dropPos.x) / cellWidth) * (cellWidth / 2);
dropPos.y = Math.floor((2 * dropPos.y) / cellHeight) * (cellHeight / 2);
for (var i = 0; i < urls.length; i++) {
from = positioner.indexForUrl(urls[i]);
to = -1;
......
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