Skip to content

Commit 24a17c9

Browse files
authoredMar 17, 2025
Disable UI line antialiasing (#2077)
1 parent 6bd2c92 commit 24a17c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎vtkext/private/module/vtkF3DImguiActor.cxx

+2-1
Original file line numberDiff line numberDiff line change
@@ -268,10 +268,11 @@ void vtkF3DImguiActor::Initialize(vtkOpenGLRenderWindow* renWin)
268268
io.FontGlobalScale = this->FontScale;
269269

270270
ImGuiStyle* style = &ImGui::GetStyle();
271+
style->AntiAliasedLines = false;
271272
style->GrabRounding = 4.0f;
272-
style->WindowRounding = 8.f;
273273
style->WindowBorderSize = 0.f;
274274
style->WindowPadding = ImVec2(10, 10);
275+
style->WindowRounding = 8.f;
275276

276277
// Setup backend name
277278
io.BackendPlatformName = io.BackendRendererName = "F3D/VTK";

0 commit comments

Comments
 (0)
Failed to load comments.