api: notifications for video stream (#884)

This commit is contained in:
bicarus
2026-08-22 00:20:41 -07:00
committed by GitHub
parent b9c8afbbc1
commit 8acd433ec6
4 changed files with 54 additions and 6 deletions
+3 -1
View File
@@ -172,7 +172,9 @@ namespace overlay::notifications {
// small gutter past the accent bar, then wrapped text
ImGui::Dummy(ImVec2(apply_scaling(2.0f), 0.f));
ImGui::SameLine();
ImGui::PushTextWrapPos(win_pos.x + win_size.x - apply_scaling(TOAST_PAD_X));
// wrap pos is in window-local space, not screen space - adding win_pos.x here
// pushed the boundary far past the window's own width, so it never wrapped
ImGui::PushTextWrapPos(win_size.x - apply_scaling(TOAST_PAD_X));
ImGui::TextUnformatted(n.text.c_str());
ImGui::PopTextWrapPos();