From 988c1fec8ee1fd7622d6d0dfc45ca0b36499d5d8 Mon Sep 17 00:00:00 2001 From: Jonathan Hoffstadt Date: Sun, 30 Oct 2022 20:01:10 -0500 Subject: [PATCH] fix: file/directory selectable theming #1928 --- src/mvItemRegistry.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mvItemRegistry.cpp b/src/mvItemRegistry.cpp index af8624611..9a668d91c 100644 --- a/src/mvItemRegistry.cpp +++ b/src/mvItemRegistry.cpp @@ -1055,15 +1055,15 @@ RenderItemRegistry(mvItemRegistry& registry) for (auto& root : registry.textureRegistryRoots) root->draw(nullptr, 0.0f, 0.0f); - for (auto& root : registry.filedialogRoots) - root->draw(nullptr, 0.0f, 0.0f); - for (auto& root : registry.themeRegistryRoots) { if(root->config.show) ((mvTheme*)root.get())->push_theme_components(); } + for (auto& root : registry.filedialogRoots) + root->draw(nullptr, 0.0f, 0.0f); + for (auto& root : registry.colormapRoots) root->draw(nullptr, 0.0f, 0.0f);