-
Notifications
You must be signed in to change notification settings - Fork 7.5k
Expand file tree
/
Copy pathsupport-imgui-1_91_9.patch
More file actions
49 lines (49 loc) · 2.41 KB
/
support-imgui-1_91_9.patch
File metadata and controls
49 lines (49 loc) · 2.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
diff --git a/src/hello_imgui/impl/imgui_theme.cpp b/src/hello_imgui/impl/imgui_theme.cpp
index 8bc60cb..87f2de4 100644
--- a/src/hello_imgui/impl/imgui_theme.cpp
+++ b/src/hello_imgui/impl/imgui_theme.cpp
@@ -314,7 +314,7 @@ namespace ImGuiTheme
style.GrabRounding = 0.0f;
style.TabRounding = 0.0f;
style.TabBorderSize = 0.0f;
- style.TabMinWidthForCloseButton = 0.0f;
+ style.TabCloseButtonMinWidthUnselected = 0.0f;
style.ColorButtonPosition = ImGuiDir_Left;
style.ButtonTextAlign = ImVec2(0.5f, 0.5f);
style.SelectableTextAlign = ImVec2(0.0f, 0.0f);
@@ -408,7 +408,7 @@ namespace ImGuiTheme
style.GrabRounding = 0.0f;
style.TabRounding = 0.0f;
style.TabBorderSize = 1.0f;
- style.TabMinWidthForCloseButton = 0.0f;
+ style.TabCloseButtonMinWidthUnselected = 0.0f;
style.ColorButtonPosition = ImGuiDir_Right;
style.ButtonTextAlign = ImVec2(0.5f, 0.5f);
style.SelectableTextAlign = ImVec2(0.0f, 0.0f);
@@ -577,7 +577,7 @@ namespace ImGuiTheme
style.GrabRounding = 0.0f;
style.TabRounding = 4.0f;
style.TabBorderSize = 0.0f;
- style.TabMinWidthForCloseButton = 0.0f;
+ style.TabCloseButtonMinWidthUnselected = 0.0f;
style.ColorButtonPosition = ImGuiDir_Right;
style.ButtonTextAlign = ImVec2(0.5f, 0.5f);
style.SelectableTextAlign = ImVec2(0.0f, 0.0f);
@@ -615,7 +615,7 @@ namespace ImGuiTheme
style.GrabRounding = 2.0f;
style.TabRounding = 4.0f;
style.TabBorderSize = 1.0f;
- style.TabMinWidthForCloseButton = 0.0f;
+ style.TabCloseButtonMinWidthUnselected = 0.0f;
style.ColorButtonPosition = ImGuiDir_Right;
style.ButtonTextAlign = ImVec2(0.5f, 0.5f);
style.SelectableTextAlign = ImVec2(0.0f, 0.0f);
@@ -814,7 +814,7 @@ namespace ImGuiTheme
style.ScrollbarSize = 15.5f;
style.GrabMinSize = 10.89999961853027f;
style.TabBorderSize = 1.0f;
- style.TabMinWidthForCloseButton = 0.0f;
+ style.TabCloseButtonMinWidthUnselected = 0.0f;
style.ColorButtonPosition = ImGuiDir_Right;
style.ButtonTextAlign = ImVec2(0.5f, 0.5f);
style.SelectableTextAlign = ImVec2(0.0f, 0.5f);