Commit eab54a3 stops updating the palette every frame and added a new default palette interface.
While speeding up the rendering loop is always a good idea, this change causes two side effects that are now hampering me:
- The ability to have a custom color palette, which I was using, is now lost.
- Changes to ImGui::GetStyle().Alpha are no longer automatically handled. In one of my applications, I give the user control over the transparency of the GUI and I now have to set a new palette on the editor every time they change transparency.
My implementation at goossens@d738eaf achieves the same thing you were after without the side effects.
It also maintains backwards compatibility for those who quickly want to change over from the old library to yours. 😄
Commit eab54a3 stops updating the palette every frame and added a new default palette interface.
While speeding up the rendering loop is always a good idea, this change causes two side effects that are now hampering me:
My implementation at goossens@d738eaf achieves the same thing you were after without the side effects.
It also maintains backwards compatibility for those who quickly want to change over from the old library to yours. 😄