“de9b3d82d7ec211856ae3e5809754996b5ffe33d”上不存在“git@gitcode.net:paddlepaddle/PaddleDetection.git”
提交 70d2635e 编写于 作者: J Jason Park

fix #156

上级 fc985dd6
Subproject commit dd1dc110d49ba804325e1b0b1650debf493bb28e Subproject commit 1b8013960685f24aad4adbebce6765d3bf32477c
...@@ -10,10 +10,9 @@ const addDividerToDom = (divider) => { ...@@ -10,10 +10,9 @@ const addDividerToDom = (divider) => {
const $divider = $('<div class="divider">'); const $divider = $('<div class="divider">');
let dragging = false; let dragging = false;
if (vertical) { if (vertical === 'v') {
$divider.addClass('vertical'); $divider.addClass('vertical');
const _left = -thickness / 2;
let _left = -thickness / 2;
$divider.css({ $divider.css({
top: 0, top: 0,
bottom: 0, bottom: 0,
...@@ -49,7 +48,6 @@ const addDividerToDom = (divider) => { ...@@ -49,7 +48,6 @@ const addDividerToDom = (divider) => {
}); });
} else { } else {
$divider.addClass('horizontal'); $divider.addClass('horizontal');
const _top = -thickness / 2; const _top = -thickness / 2;
$divider.css({ $divider.css({
......
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册