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,7 +426,7 @@ 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}
|
||||||
@@ -435,7 +435,7 @@ function dragElement(elmnt) {
|
|||||||
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