diff --git a/src/ui/windows/wallets_dialog.h b/src/ui/windows/wallets_dialog.h index 01bbfc7..2c720dc 100644 --- a/src/ui/windows/wallets_dialog.h +++ b/src/ui/windows/wallets_dialog.h @@ -118,8 +118,11 @@ public: float listHFit = listH; if (capped) listHFit = std::max(walRowH, ImGui::GetContentRegionAvail().y - belowH); ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, ImVec2(0, 0)); - ImGui::BeginChild("##walletList", ImVec2(listW, listHFit), false); + // NoScrollWithMouse + ApplySmoothScroll gives the wheel the same eased scrolling as the + // Settings page (ApplySmoothScroll handles the wheel itself, so let it own that input). + ImGui::BeginChild("##walletList", ImVec2(listW, listHFit), false, ImGuiWindowFlags_NoScrollWithMouse); ImGui::PopStyleVar(); + ApplySmoothScroll(); ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(0, 0)); // inter-card gaps are explicit ImDrawList* dl = ImGui::GetWindowDrawList(); const float rowW = ImGui::GetContentRegionAvail().x;