apicici / cimgui-love

LÖVE module for Dear ImGui obtained by wrapping cimgui with LuaJIT FFI.
MIT License
76 stars 6 forks source link

Rounding property in styles does not affect windows #19

Closed Yeahyay closed 10 months ago

Yeahyay commented 10 months ago

When setting the FrameRounding and GrabRounding style properties, only the docking icons that pop up seem to be affected.

local ImGui = require("lib.cimgui")
local style = ImGui.GetStyle();
style.FrameRounding = 20;
style.GrabRounding = 2;

image

apicici commented 10 months ago

The window rounding is controlled through a different property (WindowRounding). I would recommend activating the style editor (through ShowStyleEditor) for playing around with this kind of things.