Skip to content

Commit cc368dd

Browse files
committed
Theme now applies only once
1 parent 6a48809 commit cc368dd

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

ManyPacker/GUI.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ namespace ManyPacker
1414
static bool about = false;
1515
static bool showSelectDir = true;
1616

17-
SetStyle();
1817
ImGui::NewFrame();
1918

2019
ImGuiViewport* viewport = ImGui::GetMainViewport();

ManyPacker/defines.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#pragma once
2-
#define MANYPACKER_VERSION "1.0.2"
2+
#define MANYPACKER_VERSION "1.0.3"
33
#define MANYPACKER_NAME "ManyPacker"
44

55
#define MANYPACKER_FULL_NAME MANYPACKER_NAME " " MANYPACKER_VERSION

ManyPacker/main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ int APIENTRY WinMain(HINSTANCE hInst, HINSTANCE hInstPrev, PSTR cmdline, int cmd
6262
io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard;
6363
io.IniFilename = NULL;
6464

65-
ImGui::StyleColorsDark();
65+
//ImGui::StyleColorsDark();
66+
ManyPacker::GUI::SetStyle();
6667

6768
ImGui_ImplWin32_Init(hwnd);
6869
ImGui_ImplDX9_Init(g_pd3dDevice);

0 commit comments

Comments
 (0)