diff options
author | Canop <cano.petrole@gmail.com> | 2020-06-28 15:33:43 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2020-06-28 15:33:43 +0200 |
commit | 3accec2a8ea0827b84b7014744cfe94834cc18d5 (patch) | |
tree | 33455c638391102566c2c3db8d4bed876b7cd2a7 /src/browser/browser_state.rs | |
parent | 6ae4cc421ef3db9f6f458a023780af899313f821 (diff) |
new `cols_order` attribute in configurationv0.18.1
Allows setting the order of columns, most notably the position
of the branch (left of the tree, just before the name, or in
between).
Fix #127
Diffstat (limited to 'src/browser/browser_state.rs')
-rw-r--r-- | src/browser/browser_state.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/browser/browser_state.rs b/src/browser/browser_state.rs index 0da7406..dab6c85 100644 --- a/src/browser/browser_state.rs +++ b/src/browser/browser_state.rs @@ -698,11 +698,12 @@ impl AppState for BrowserState { _screen: &Screen, area: Area, panel_skin: &PanelSkin, - _con: &AppContext, + con: &AppContext, ) -> Result<(), ProgramError> { let dp = DisplayableTree { tree: &self.displayed_tree(), skin: &panel_skin.styles, + cols: &con.cols, area, in_app: true, }; |