mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 11:15:34 +00:00
Bug 1465644 - Part 3. Hide Splitter if the network panel detail has not opened. r=honza
Network monitor has the splitter box. This splitter is displayed between the request list panel and network details panel. However, this splitter is displayed even if the network details panel has not displayed. This patch will set the spliter size to zero if the network details panel is collapsed. --HG-- extra : rebase_source : c20abd113ee91402bd80cf257d7e61e5b3bbdba1 extra : amend_source : e43345ba289907c1b10744e17b102f7775618e78
This commit is contained in:
parent
b5919ca49c
commit
095f89b569
@ -149,7 +149,7 @@ class MonitorPanel extends Component {
|
||||
initialHeight: initialHeight,
|
||||
minSize: "50px",
|
||||
maxSize: "80%",
|
||||
splitterSize: 1,
|
||||
splitterSize: networkDetailsOpen ? 1 : 0,
|
||||
startPanel: RequestList({ isEmpty, connector }),
|
||||
endPanel: networkDetailsOpen && NetworkDetailsPanel({
|
||||
ref: "endPanel",
|
||||
|
Loading…
Reference in New Issue
Block a user