mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Why check if feed pane size is too small and force a resize?
This commit is contained in:
parent
bb3b8d40d2
commit
d034830007
1 changed files with 6 additions and 5 deletions
|
@ -286,7 +286,7 @@
|
|||
west__paneSelector: ".left-pane",
|
||||
west__size: this.model.preference('feed_pane_size'),
|
||||
west__minSize: this.constants.MIN_FEED_LIST_SIZE,
|
||||
west__onresize_end: $.rescope(this.save_feed_pane_size, this),
|
||||
west__onresize_end: _.bind(this.save_feed_pane_size, this),
|
||||
// west__initHidden: this.options.hide_sidebar,
|
||||
west__spacing_open: this.options.hide_sidebar ? 1 : 1,
|
||||
resizerDragOpacity: 0.6,
|
||||
|
@ -294,10 +294,11 @@
|
|||
enableCursorHotkey: false,
|
||||
togglerLength_open: 0
|
||||
});
|
||||
|
||||
if (this.model.preference('feed_pane_size') < 242) {
|
||||
this.layout.outerLayout.resizeAll();
|
||||
}
|
||||
|
||||
// What the hell is this handling?
|
||||
// if (this.model.preference('feed_pane_size') < 242) {
|
||||
// this.layout.outerLayout.resizeAll();
|
||||
// }
|
||||
|
||||
this.layout.leftLayout = $('.left-pane').layout({
|
||||
closable: false,
|
||||
|
|
Loading…
Add table
Reference in a new issue