You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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. 😄
The text was updated successfully, but these errors were encountered:
I'm aware that custom color palette is not possible with my changes. And i agree that it should be possible. I'm trying to do some cleanup and will come back to this later.
and thanks for letting me know about the alpha stuff
Another side effect is that, due to the new use of ImGui::GetStyle during TextEditor construction, it is no longer possible to instantiate a TextEditor instance before the ImGui context has been initialized.
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. 😄
The text was updated successfully, but these errors were encountered: