mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-15 05:04:15 +01:00
chore: remove image from dev button
This commit is contained in:
parent
abb14eb7ac
commit
ca70bf91b0
1 changed files with 1 additions and 13 deletions
|
|
@ -401,22 +401,10 @@ namespace Dalamud.Interface.Internal
|
||||||
|
|
||||||
if (ImGui.Begin("DevMenu Opener", ImGuiWindowFlags.AlwaysAutoResize | ImGuiWindowFlags.NoBackground | ImGuiWindowFlags.NoDecoration | ImGuiWindowFlags.NoMove | ImGuiWindowFlags.NoScrollbar | ImGuiWindowFlags.NoResize | ImGuiWindowFlags.NoSavedSettings))
|
if (ImGui.Begin("DevMenu Opener", ImGuiWindowFlags.AlwaysAutoResize | ImGuiWindowFlags.NoBackground | ImGuiWindowFlags.NoDecoration | ImGuiWindowFlags.NoMove | ImGuiWindowFlags.NoScrollbar | ImGuiWindowFlags.NoResize | ImGuiWindowFlags.NoSavedSettings))
|
||||||
{
|
{
|
||||||
var cursor = ImGui.GetCursorPos();
|
ImGui.SetNextItemWidth(40);
|
||||||
if (ImGui.Button("###devMenuOpener", imageSize))
|
if (ImGui.Button("###devMenuOpener", imageSize))
|
||||||
this.isImGuiDrawDevMenu = true;
|
this.isImGuiDrawDevMenu = true;
|
||||||
|
|
||||||
#if !DEBUG
|
|
||||||
if (config.DalamudBetaKey == DalamudConfiguration.DalamudCurrentBetaKey)
|
|
||||||
{
|
|
||||||
#endif
|
|
||||||
#pragma warning disable SA1137
|
|
||||||
ImGui.SetCursorPos(cursor);
|
|
||||||
ImGui.Image(this.logoTexture.ImGuiHandle, imageSize);
|
|
||||||
#pragma warning restore SA1137
|
|
||||||
#if !DEBUG
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
ImGui.End();
|
ImGui.End();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue