sync with upstreaom #2

Open
goatzone wants to merge 545 commits from liza/Questionable:master into master
Showing only changes of commit 3382b84f17 - Show all commits

View File

@ -24,7 +24,10 @@ internal sealed class QuestJournalUtils
public void ShowContextMenu(IQuestInfo questInfo, Quest? quest, string label) public void ShowContextMenu(IQuestInfo questInfo, Quest? quest, string label)
{ {
using var popup = ImRaii.ContextPopup($"##QuestPopup{questInfo.QuestId}", ImGuiPopupFlags.MouseButtonRight); if (ImGui.IsItemClicked(ImGuiMouseButton.Right))
ImGui.OpenPopup($"##QuestPopup{questInfo.QuestId}");
using var popup = ImRaii.Popup($"##QuestPopup{questInfo.QuestId}");
if (!popup) if (!popup)
return; return;