Skip to content

Commit dfc2335

Browse files
committed
fixed titlebar color
1 parent 76b5883 commit dfc2335

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

imgui.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Size=640.0,688.0
1414
Collapsed=0
1515

1616
[Debug##Default]
17-
Pos=234,119
17+
Pos=60,60
1818
Size=400.0,400.0
1919
Collapsed=0
2020

src/main/kotlin/imgui/draw.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ class DrawList {
190190

191191
fun addRectFilled(a: Vec2, b: Vec2, col: Int, rounding: Float = 0f, roundingCornersFlags: Int = 0xffffffff.i) {
192192
if (col hasnt COL32_A_MASK) return
193-
if (rounding > 0.0f) {
193+
if (rounding > 0f) {
194194
pathRect(a, b, rounding, roundingCornersFlags)
195195
pathFillConvex(col)
196196
} else {

src/main/kotlin/imgui/imgui/styles.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ interface imgui_styles {
2121
Vec4(0.80f, 0.80f, 0.80f, 0.30f), // Background of checkbox, radio button, plot, slider, text input
2222
Vec4(0.90f, 0.80f, 0.80f, 0.40f),
2323
Vec4(0.90f, 0.65f, 0.65f, 0.45f),
24-
Vec4(0.27f, 0.27f, 0.54f, 0.83f),
25-
Vec4(0.40f, 0.40f, 0.80f, 0.20f),
26-
Vec4(0.32f, 0.32f, 0.63f, 0.87f),
24+
Vec4(0.27f, 0.27f, 0.54f, 0.83f), // TitleBg
25+
Vec4(0.32f, 0.32f, 0.63f, 0.87f), // TitleBgActive
26+
Vec4(0.40f, 0.40f, 0.80f, 0.20f), // TitleBgCollapsed
2727
Vec4(0.40f, 0.40f, 0.55f, 0.80f),
2828
Vec4(0.20f, 0.25f, 0.30f, 0.60f),
2929
Vec4(0.40f, 0.40f, 0.80f, 0.30f),

0 commit comments

Comments
 (0)