Skip to content

Commit f9daff6

Browse files
committed
Change layer for properties panel background, add background for toolbar
1 parent 1f82f3c commit f9daff6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/editor/editor.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,11 @@ Editor::draw(Compositor& compositor)
239239
widget->draw(context);
240240
}
241241

242+
context.color().draw_filled_rect(Rectf(0.0f, 0.0f, SCREEN_WIDTH, 32.0f),
243+
Color(0.2f, 0.2f, 0.2f), LAYER_GUI - 6);
244+
242245
context.color().draw_filled_rect(Rectf(0, 32.0f, 200.0f, SCREEN_HEIGHT - 32.0f),
243-
Color(0.2f, 0.2f, 0.2f), LAYER_GUI);
246+
Color(0.2f, 0.2f, 0.2f), LAYER_GUI - 1);
244247

245248
for(const auto& control : m_controls)
246249
{

0 commit comments

Comments
 (0)