Commit 15290375 authored by Clement Ho's avatar Clement Ho

Fix image diff swipe handle offset to correctly align with the frame

parent 727f51b8
...@@ -134,8 +134,9 @@ ...@@ -134,8 +134,9 @@
width: maxWidth + 1, width: maxWidth + 1,
height: maxHeight + 2 height: maxHeight + 2
}); });
// Set swipeBar left position to match image frame
$swipeBar.css({ $swipeBar.css({
left: 0 left: 1
}); });
wrapPadding = parseInt($swipeWrap.css('right').replace('px', ''), 10); wrapPadding = parseInt($swipeWrap.css('right').replace('px', ''), 10);
......
---
title: Fix image diff swipe handle offset to correctly align with the frame
merge_request:
author:
type: fixed
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