mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
fix: addon outlines in UiDebug
This commit is contained in:
parent
303ddf8d27
commit
5f03654eee
1 changed files with 5 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
|
|
@ -512,7 +512,10 @@ namespace Dalamud.Interface {
|
|||
var size = new Vector2(node->Width, node->Height) * scale;
|
||||
|
||||
var nodeVisible = GetNodeVisible(node);
|
||||
ImGui.GetForegroundDrawList().AddRect(position, position + size, nodeVisible ? 0xFF00FF00 : 0xFF0000FF);
|
||||
|
||||
position += ImGuiHelpers.MainViewport.Pos;
|
||||
|
||||
ImGui.GetForegroundDrawList(ImGuiHelpers.MainViewport).AddRect(position, position + size, nodeVisible ? 0xFF00FF00 : 0xFF0000FF);
|
||||
}
|
||||
|
||||
private static void ClickToCopyText(string text, string textCopy = null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue