raylib-extras/rlImGui-cs

Some Elements not rendering correctly at fullscreen

VincentHill opened this issue · 1 comments

I am on Linux, so I don't know if this is a raylib, this libary, or if I am doing something wrong

SetTraceLogLevel(TraceLogLevel.Error);
SetConfigFlags(ConfigFlags.ResizableWindow);
InitWindow(400, 300, "Window");
rlImGui.Setup(true);
while (!WindowShouldClose()) {
	BeginDrawing();
	ClearBackground(Color.Black);

	rlImGui.Begin();

	//
	bool open = true;
	ImGuiWindowFlags flags =
		ImGuiWindowFlags.NoDecoration |
		ImGuiWindowFlags.AlwaysAutoResize |
		ImGuiWindowFlags.NoSavedSettings |
		ImGuiWindowFlags.NoFocusOnAppearing |
		ImGuiWindowFlags.NoNav;
	ImGui.SetNextWindowPos(Vector2.One * 10f);
	flags |= ImGuiWindowFlags.NoMove;
	ImGui.Begin("test", ref open, flags);
	ImGui.Text("HERE");
	ImGui.End();
	//

	rlImGui.End();
	EndDrawing();
}

CloseWindow();

Windowed:
Screenshot_2024-02-02_14:19

Full-screen:
Screenshot_2024-02-02_14:19-1

Fixed in commit f292152