Fixed Split.js issues when resizing to around 1000px wide

This commit is contained in:
n1474335 2022-05-30 22:53:17 +01:00
parent ff99436ce6
commit 668eac1f9e
6 changed files with 81 additions and 9 deletions

View file

@ -23,11 +23,11 @@ class WindowWaiter {
/**
* Handler for window resize events.
* Resets the layout of CyberChef's panes after 200ms (so that continuous resizing doesn't cause
* Resets adjustable component sizes after 200ms (so that continuous resizing doesn't cause
* continuous resetting).
*/
windowResize() {
debounce(this.app.resetLayout, 200, "windowResize", this.app, [])();
debounce(this.app.adjustComponentSizes, 200, "windowResize", this.app, [])();
}