parent
aa7ccecc49
commit
8c04f12499
2 changed files with 32 additions and 6 deletions
|
@ -1298,6 +1298,11 @@ impl Render for DebugPanel {
|
|||
}
|
||||
|
||||
v_flex()
|
||||
.when_else(
|
||||
self.position(window, cx) == DockPosition::Bottom,
|
||||
|this| this.max_h(self.size),
|
||||
|this| this.max_w(self.size),
|
||||
)
|
||||
.size_full()
|
||||
.key_context("DebugPanel")
|
||||
.child(h_flex().children(self.top_controls_strip(window, cx)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue