Render pane grid titlebar after body
This commit is contained in:
parent
77c838011f
commit
20fd1f2047
1 changed files with 10 additions and 10 deletions
|
|
@ -115,6 +115,16 @@ where
|
||||||
|
|
||||||
let show_controls = bounds.contains(cursor_position);
|
let show_controls = bounds.contains(cursor_position);
|
||||||
|
|
||||||
|
self.body.as_widget().draw(
|
||||||
|
&tree.children[0],
|
||||||
|
renderer,
|
||||||
|
theme,
|
||||||
|
style,
|
||||||
|
body_layout,
|
||||||
|
cursor_position,
|
||||||
|
viewport,
|
||||||
|
);
|
||||||
|
|
||||||
title_bar.draw(
|
title_bar.draw(
|
||||||
&tree.children[1],
|
&tree.children[1],
|
||||||
renderer,
|
renderer,
|
||||||
|
|
@ -125,16 +135,6 @@ where
|
||||||
viewport,
|
viewport,
|
||||||
show_controls,
|
show_controls,
|
||||||
);
|
);
|
||||||
|
|
||||||
self.body.as_widget().draw(
|
|
||||||
&tree.children[0],
|
|
||||||
renderer,
|
|
||||||
theme,
|
|
||||||
style,
|
|
||||||
body_layout,
|
|
||||||
cursor_position,
|
|
||||||
viewport,
|
|
||||||
);
|
|
||||||
} else {
|
} else {
|
||||||
self.body.as_widget().draw(
|
self.body.as_widget().draw(
|
||||||
&tree.children[0],
|
&tree.children[0],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue