mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
Fix a long-standing silly bug. Vertical and Horizontal were reversed
This commit is contained in:
@@ -106,9 +106,9 @@ namespace renderdocui.Controls
|
||||
SplitterDistance = Panel1MinSize;
|
||||
else if (m_Collapsed && !Panel1Collapse)
|
||||
{
|
||||
if(Orientation == Orientation.Vertical)
|
||||
if (Orientation == Orientation.Horizontal)
|
||||
SplitterDistance = Height - Panel2MinSize;
|
||||
else if(Orientation == Orientation.Horizontal)
|
||||
else if(Orientation == Orientation.Vertical)
|
||||
SplitterDistance = Width - Panel2MinSize;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user