This commit is contained in:
Danil Boldyrev 2023-08-23 03:35:09 +03:00
parent 8fd1558179
commit 6a87e35bef

View File

@ -677,7 +677,6 @@ onUiLoaded(async() => {
targetElement.isExpanded = false;
function autoExpand() {
const canvas = document.querySelector(`${elemId} canvas[key="interface"]`);
if (canvas) {
if (hasHorizontalScrollbar(targetElement) && targetElement.isExpanded === false) {
targetElement.style.visibility = "hidden";