PagesControl leak fix

This commit is contained in:
MihailRis
2023-11-20 03:59:59 +03:00
parent 4ea7bda249
commit 3b5c039db1
2 changed files with 4 additions and 7 deletions
+1 -2
View File
@@ -176,8 +176,7 @@ Panel* create_controls_panel(Engine* engine, PagesControl* pages) {
for (auto& entry : Events::bindings){
string bindname = entry.first;
std::cout << bindname << std::endl;
Panel* subpanel = new Panel(vec2(400, 45), vec4(5.0f), 1.0f);
subpanel->color(vec4(0.0f));
subpanel->orientation(Orientation::horizontal);