|
|
@ -15,12 +15,12 @@ const mouseenterDebounceFunc = debounce(({ node }) => { |
|
|
|
node.setZIndex(100); |
|
|
|
console.log(node); |
|
|
|
} |
|
|
|
}, 100); |
|
|
|
}, 0); |
|
|
|
const mouseleaveDebounceFunc = debounce(({ node }) => { |
|
|
|
if (["singleNode-html", "multiNode-html"].indexOf(node.shape) >= 0) { |
|
|
|
node.setZIndex(1); |
|
|
|
} |
|
|
|
}, 100); |
|
|
|
}, 0); |
|
|
|
|
|
|
|
|
|
|
|
const clickDebounceFunc = debounce(({ node }) => { |
|
|
@ -32,7 +32,7 @@ const clickDebounceFunc = debounce(({ node }) => { |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
}, 100); |
|
|
|
}, 0); |
|
|
|
|
|
|
|
|
|
|
|
function setFont(size, bold = "normal", family = "微软雅黑") { |
|
|
|