We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
on Mac os. the contents on the window don't display normally. It display only when I drag the window to the top left corner of the big main window.
The text was updated successfully, but these errors were encountered:
After commenting the line “draw_data->ScaleClipRects(io.DisplayFramebufferScale);” in renderDrawList. It displays normally on Macos.
void ImGuiRenderer::renderDrawList(ImDrawData *draw_data) { // Select current context ImGui::SetCurrentContext(g_ctx); // Avoid rendering when minimized, scale coordinates for retina displays (screen coordinates != framebuffer coordinates) const ImGuiIO& io = ImGui::GetIO(); int fb_width = (int)(io.DisplaySize.x * io.DisplayFramebufferScale.x); int fb_height = (int)(io.DisplaySize.y * io.DisplayFramebufferScale.y); if (fb_width == 0 || fb_height == 0) return; //draw_data->ScaleClipRects(io.DisplayFramebufferScale);
Sorry, something went wrong.
No branches or pull requests
on Mac os. the contents on the window don't display normally. It display only when I drag the window to the top left corner of the big main window.
The text was updated successfully, but these errors were encountered: