mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-02 18:39:05 +01:00
remove unnecessary log
This commit is contained in:
parent
52e04330bc
commit
264d6568e2
@ -123,7 +123,6 @@ export const TileLayout = <T,>({
|
|||||||
useEffect(
|
useEffect(
|
||||||
debounce(100, () => {
|
debounce(100, () => {
|
||||||
const cursorPoint = getApi().getCursorPoint();
|
const cursorPoint = getApi().getCursorPoint();
|
||||||
console.log(cursorPoint);
|
|
||||||
if (cursorPoint && displayContainerRef.current) {
|
if (cursorPoint && displayContainerRef.current) {
|
||||||
const displayContainerRect = displayContainerRef.current.getBoundingClientRect();
|
const displayContainerRect = displayContainerRef.current.getBoundingClientRect();
|
||||||
const normalizedX = cursorPoint.x - displayContainerRect.x;
|
const normalizedX = cursorPoint.x - displayContainerRect.x;
|
||||||
|
Loading…
Reference in New Issue
Block a user