mirror of
https://github.com/atom/atom.git
synced 2026-02-18 02:21:43 -05:00
Bring back position:fixed for tree view resizer
Without position fixed, the resizer breaks when the tree view is scrolled.
This commit is contained in:
@@ -37,6 +37,7 @@ class TreeView extends ScrollView
|
||||
treeView.focusAfterAttach = state.hasFocus
|
||||
treeView.scrollTopAfterAttach = state.scrollTop
|
||||
treeView.width(state.width)
|
||||
treeView.resizer.css(left: state.width)
|
||||
treeView.attach() if state.attached
|
||||
treeView
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
width: 10px;
|
||||
background: transparent;
|
||||
cursor: col-resize;
|
||||
position: fixed;
|
||||
}
|
||||
|
||||
.tree-view .entry {
|
||||
|
||||
Reference in New Issue
Block a user