Merge pull request #12714 from catboxanon/resize-handle-reset

Reset columns on resize handle double click
This commit is contained in:
AUTOMATIC1111 2023-08-22 07:30:52 +03:00 committed by GitHub
commit f83996cd9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,8 @@
R.screenX = evt.screenX;
});
resizeHandle.addEventListener('dblclick', () => parent.style.gridTemplateColumns = GRID_TEMPLATE_COLUMNS);
afterResize(parent);
}