提交 70d2635e 编写于 作者: J Jason Park

fix #156

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