Skip to content

Commit

Permalink
Fix cross-browser discrepancies for non-images (#762)
Browse files Browse the repository at this point in the history
  • Loading branch information
pazams authored and darthtrevino committed May 9, 2017
1 parent 45460b7 commit 93c5580
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/react-dnd-html5-backend/src/OffsetUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ export function getDragPreviewOffset(sourceNode, dragPreview, clientOffset, anch
if (isSafari() && isImage) {
dragPreviewHeight /= window.devicePixelRatio;
dragPreviewWidth /= window.devicePixelRatio;
} else if (isFirefox() && !isImage) {
dragPreviewHeight *= window.devicePixelRatio;
dragPreviewWidth *= window.devicePixelRatio;
}

// Interpolate coordinates depending on anchor point
Expand Down

0 comments on commit 93c5580

Please sign in to comment.