mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
no movingUI console spam.
This commit is contained in:
@@ -426,16 +426,16 @@ function dragElement(elmnt) {
|
|||||||
$(elmnt).css("bottom", "unset");
|
$(elmnt).css("bottom", "unset");
|
||||||
$(elmnt).css("right", "unset");
|
$(elmnt).css("right", "unset");
|
||||||
|
|
||||||
console.log(`
|
/* console.log(`
|
||||||
offsetLeft: ${elmnt.offsetLeft}, offsetTop: ${elmnt.offsetTop}
|
offsetLeft: ${elmnt.offsetLeft}, offsetTop: ${elmnt.offsetTop}
|
||||||
winWidth: ${winWidth}, winHeight: ${winHeight}
|
winWidth: ${winWidth}, winHeight: ${winHeight}
|
||||||
sheldWidth: ${sheldWidth}
|
sheldWidth: ${sheldWidth}
|
||||||
X: ${elmnt.style.left}
|
X: ${elmnt.style.left}
|
||||||
Y: ${elmnt.style.top}
|
Y: ${elmnt.style.top}
|
||||||
MaxX: ${maxX}, MaxY: ${maxY}
|
MaxX: ${maxX}, MaxY: ${maxY}
|
||||||
Topbar 1st X: ${((winWidth - sheldWidth) / 2)}
|
Topbar 1st X: ${((winWidth - sheldWidth) / 2)}
|
||||||
TopBar lastX: ${((winWidth - sheldWidth) / 2) + sheldWidth}
|
TopBar lastX: ${((winWidth - sheldWidth) / 2) + sheldWidth}
|
||||||
`);
|
`); */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user