mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-25 01:49:18 +01:00
feat: ImGui info command
This commit is contained in:
parent
311968ed57
commit
ff64c01643
2 changed files with 35 additions and 1 deletions
|
|
@ -52,6 +52,8 @@ namespace Dalamud.Interface
|
|||
private delegate void InstallRTSSHook();
|
||||
private string rtssPath;
|
||||
|
||||
public ImGuiIOPtr LastImGuiIoPtr;
|
||||
|
||||
/// <summary>
|
||||
/// This event gets called by a plugin UiBuilder when read
|
||||
/// </summary>
|
||||
|
|
@ -297,7 +299,8 @@ namespace Dalamud.Interface
|
|||
// they will see both cursors.
|
||||
// Doing this here because it's somewhat application-specific behavior
|
||||
//ImGui.GetIO().MouseDrawCursor = ImGui.GetIO().WantCaptureMouse;
|
||||
this.lastWantCapture = ImGui.GetIO().WantCaptureMouse;
|
||||
this.LastImGuiIoPtr = ImGui.GetIO();
|
||||
this.lastWantCapture = this.LastImGuiIoPtr.WantCaptureMouse;
|
||||
|
||||
OnDraw?.Invoke();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue