feat: add novice network button
This commit is contained in:
@@ -407,7 +407,7 @@ internal sealed class ChatLog : IUiComponent {
|
||||
var afterIcon = ImGui.GetCursorPos();
|
||||
|
||||
var buttonWidth = afterIcon.X - beforeIcon.X;
|
||||
var inputWidth = ImGui.GetContentRegionAvail().X - buttonWidth;
|
||||
var inputWidth = ImGui.GetContentRegionAvail().X - buttonWidth * 2;
|
||||
|
||||
var inputType = this._tempChannel?.ToChatType() ?? activeTab?.Channel?.ToChatType() ?? this.Ui.Plugin.Functions.Chat.Channel.channel.ToChatType();
|
||||
if (this.Chat.Trim().StartsWith('/')) {
|
||||
@@ -505,6 +505,12 @@ internal sealed class ChatLog : IUiComponent {
|
||||
this.Ui.SettingsVisible ^= true;
|
||||
}
|
||||
|
||||
ImGui.SameLine();
|
||||
|
||||
if (ImGuiUtil.IconButton(FontAwesomeIcon.Leaf)) {
|
||||
this.Ui.Plugin.Functions.ClickNoviceNetworkButton();
|
||||
}
|
||||
|
||||
ImGui.End();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user