Skip to content

Commit 3eac841

Browse files
committed
Change layer for properties panel background, add background for toolbar
1 parent a9b3c04 commit 3eac841

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
@@ -246,8 +246,11 @@ Editor::draw(Compositor& compositor)
246246
widget->draw(context);
247247
}
248248

249+
context.color().draw_filled_rect(Rectf(0.0f, 0.0f, SCREEN_WIDTH, 32.0f),
250+
Color(0.2f, 0.2f, 0.2f), LAYER_GUI - 6);
251+
249252
context.color().draw_filled_rect(Rectf(0, 32.0f, 200.0f, SCREEN_HEIGHT - 32.0f),
250-
Color(0.2f, 0.2f, 0.2f), LAYER_GUI);
253+
Color(0.2f, 0.2f, 0.2f), LAYER_GUI - 1);
251254

252255
for(const auto& control : m_controls)
253256
{

0 commit comments

Comments
 (0)