-
So I have been playing around with giu and my window is slightly transparent (single window) and for some reason the corners and that on my widgets are slightly transparent enough to where you can see thru and it makes the corners have these ugly corners depending on the color of the window / desktop behind it. Note: I am using Nicify's appleWindowProperties func and his WindowMove hook, I removed the part that sets window opacity in the window properties and the window is still slightly transparent |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The problem is that the default value of framebordersize is not appropriate when frameborder is rounded, if you want to get pixel perfect display with rounded corners it is recommended to set defer imgui.PopStyleVar()
imgui.PushStyleVarFloat(imgui.StyleVarFrameBorderSize, 0) |
Beta Was this translation helpful? Give feedback.
The problem is that the default value of framebordersize is not appropriate when frameborder is rounded, if you want to get pixel perfect display with rounded corners it is recommended to set
StyleVarFrameBorderSize
to 0in loop func: