fix: don't account for cursor pos twice

This commit is contained in:
Anna 2024-03-14 15:19:08 -04:00
parent b6f5dbeb4c
commit 1368518e02
Signed by: anna
GPG Key ID: D0943384CD9F87D1
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ internal class QuestionsTab {
var currentX = ImGui.GetCursorPosX();
var availX = ImGui.GetContentRegionAvail().X;
var move = availX - width - currentX;
var move = availX - width;
ImGui.SetCursorPosX(currentX + move);
ImGui.TextUnformatted(label);
}