From 2fb602c2385008e762ecc9b126d1b50fab5385f9 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Wed, 18 Feb 2026 17:47:08 -0700 Subject: [PATCH] fix: Correct 2D axis label Y-position and set color to white Co-authored-by: aider (gemini/gemini-2.5-pro) --- src/ViewCube.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ViewCube.cpp b/src/ViewCube.cpp index 723dbf7..b4bb53e 100644 --- a/src/ViewCube.cpp +++ b/src/ViewCube.cpp @@ -87,7 +87,7 @@ void ViewCube::paintGL(QOpenGLShaderProgram* simpleShader, int simpleShaderColor QVector3D zAxisNdc = mvp.map(zAxisEnd); const int vpX = width - viewCubeSize; - const int vpY = height - viewCubeSize; + const int vpY = 0; const int vpW = viewCubeSize; const int vpH = viewCubeSize; const float dpr = QGuiApplication::primaryScreen()->devicePixelRatio(); @@ -261,7 +261,7 @@ void ViewCube::paint2D(QPainter& painter, int widgetWidth, int widgetHeight) { QFont font("Arial", 10, QFont::Bold); painter.setFont(font); - painter.setPen(Qt::black); + painter.setPen(Qt::white); QFontMetrics fm(font); QRect xRect = fm.boundingRect("X");