mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-15 04:04:15 +01:00
rework creation of popout windows into factory and some refactoring in general
This commit is contained in:
parent
a8bc5386ea
commit
5c9415b6e9
15 changed files with 239 additions and 260 deletions
|
|
@ -95,9 +95,8 @@ public class IdDisplayHandler
|
|||
{
|
||||
ImGui.AlignTextToFramePadding();
|
||||
|
||||
if (textIsUid) ImGui.PushFont(UiBuilder.MonoFont);
|
||||
ImGui.TextUnformatted(playerText);
|
||||
if (textIsUid) ImGui.PopFont();
|
||||
using (ImRaii.PushFont(UiBuilder.MonoFont, textIsUid)) ImGui.TextUnformatted(playerText);
|
||||
|
||||
if (ImGui.IsItemHovered())
|
||||
{
|
||||
if (!string.Equals(_lastMouseOverUid, id))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue