Restored side panel hidden during rebase interactive
This commit is contained in:
parent
8a65a56f75
commit
c674f1fc1e
@ -257,7 +257,7 @@ fun MainContentView(
|
|||||||
|
|
||||||
TripleVerticalSplitPanel(
|
TripleVerticalSplitPanel(
|
||||||
modifier = Modifier.fillMaxSize(),
|
modifier = Modifier.fillMaxSize(),
|
||||||
firstWidth = firstWidth,
|
firstWidth = if(rebaseInteractiveState is RebaseInteractiveState.AwaitingInteraction) 0f else firstWidth,
|
||||||
thirdWidth = thirdWidth,
|
thirdWidth = thirdWidth,
|
||||||
first = {
|
first = {
|
||||||
SidePanel()
|
SidePanel()
|
||||||
@ -368,7 +368,7 @@ fun MainContentView(
|
|||||||
onFirstSizeDrag = {
|
onFirstSizeDrag = {
|
||||||
val newWidth = firstWidth + it / density
|
val newWidth = firstWidth + it / density
|
||||||
|
|
||||||
if (newWidth > 150) {
|
if (newWidth > 150 && rebaseInteractiveState !is RebaseInteractiveState.AwaitingInteraction) {
|
||||||
firstWidth = newWidth
|
firstWidth = newWidth
|
||||||
tabViewModel.firstPaneWidth = firstWidth
|
tabViewModel.firstPaneWidth = firstWidth
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user