From 816886204f5a4167d0cf854ee376a1f979e42f96 Mon Sep 17 00:00:00 2001 From: Timothy Cricchio Date: Sat, 18 Mar 2023 00:17:10 -0400 Subject: [PATCH] Made the party list moving boxes more obvious --- XivParty/uiPartyList.lua | 4 ++++ XivParty/xivparty.lua | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/XivParty/uiPartyList.lua b/XivParty/uiPartyList.lua index 15c23b5..313d42b 100644 --- a/XivParty/uiPartyList.lua +++ b/XivParty/uiPartyList.lua @@ -151,11 +151,15 @@ function uiPartyList:drawDragConfig() imgui.SetNextWindowPos({self.posX, self.posY}); self.isUiLocked = true; end + imgui.PushStyleColor(ImGuiCol_WindowBg, {1,1,0,1}); + imgui.PushStyleVar(ImGuiStyleVar_WindowBorderSize, 3); imgui.Begin(("XivParty: Move Party %s"):fmt(self.partyIndex), true, bit.bor(ImGuiWindowFlags_NoSavedSettings, ImGuiWindowFlags_NoDecoration)) local posX, posY = imgui.GetWindowPos(); self:pos(posX, posY) setUiPosition(posX, posY, self.partyIndex) imgui.End(); + imgui.PopStyleColor(1); + imgui.PopStyleVar(1); end diff --git a/XivParty/xivparty.lua b/XivParty/xivparty.lua index e9ae500..abd3511 100644 --- a/XivParty/xivparty.lua +++ b/XivParty/xivparty.lua @@ -88,7 +88,7 @@ local function setSetupEnabled(enabled) else print(chat.header(addon.name)..'Config opened (/xp or /xivparty)') print(chat.header(addon.name)..'Retype the command to save and close') - print(chat.header(addon.name)..'To move party lists click and drag the grey boxes') + print(chat.header(addon.name)..'To move party lists click and drag the yellow boxes') end end