Skip to content

Commit

Permalink
Resize WebUI when changing h-splitter
Browse files Browse the repository at this point in the history
Resolves regression with version 4.2 where the torrent view pane will not resize when the h-divider is adjusted.
  • Loading branch information
stickz committed Aug 8, 2023
1 parent 31fe4b7 commit 6dbe6c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/webui.js
Original file line number Diff line number Diff line change
Expand Up @@ -2864,6 +2864,7 @@ var theWebUI =
if((theWebUI.settings["webui.hsplit"] != r) && (r>0) && (r<1))
{
theWebUI.settings["webui.hsplit"] = r;
theWebUI.resize();
theWebUI.save();
}
},
Expand Down

0 comments on commit 6dbe6c7

Please sign in to comment.