Reimplement list sorting and Fix UI7 Layers

This commit is contained in:
2026-01-22 16:34:46 +01:00
parent 2b7d25cf06
commit 0db4953125
8 changed files with 30 additions and 17 deletions

View File

@@ -29,11 +29,11 @@ PD_UI7_API void Image::Draw() {
// Assert(io.get() && list.get(), "Did you run Container::Init correctly?");
// Assert(img.get(), "Image is nullptr!");
// io->Ren->OnScreen(screen);
list->pLayer++;
list->LayerUp();
list->DrawTexture(img);
list->DrawRectFilled(FinalPos(), newsize, 0xffffffff);
list->DrawSolid();
list->pLayer--;
list->LayerDown();
}
} // namespace UI7
} // namespace PD