We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afb8a11 commit ed7fd6bCopy full SHA for ed7fd6b
textselect.cpp
@@ -468,6 +468,7 @@ void TextSelect::selectAll() {
468
void TextSelect::update() {
469
// ImGui::GetCursorStartPos() is in window coordinates so it is added to the window position
470
ImVec2 cursorPosStart = ImGui::GetWindowPos() + ImGui::GetCursorStartPos();
471
+ cursorPosStart.x += ImGui::GetCurrentWindow()->DC.Indent.x;
472
473
// Switch cursors if the window is hovered
474
bool hovered = ImGui::IsWindowHovered();
0 commit comments