Fix #63
This commit is contained in:
@@ -4,7 +4,6 @@ using System.Text;
|
||||
using Dalamud;
|
||||
using Dalamud.Game.Text.SeStringHandling;
|
||||
using Dalamud.Game.Text.SeStringHandling.Payloads;
|
||||
using Dalamud.Plugin.Services;
|
||||
using Dalamud.Utility;
|
||||
using Lumina.Excel;
|
||||
using Lumina.Excel.GeneratedSheets;
|
||||
@@ -293,7 +292,7 @@ internal static class AutoTranslate
|
||||
{
|
||||
var payload = ValidEntries.Contains((group, key))
|
||||
? new AutoTranslatePayload(group, key).Encode()
|
||||
: Array.Empty<byte>();
|
||||
: [];
|
||||
|
||||
var oldBytes = bytes.ToArray();
|
||||
var lengthDiff = payload.Length - (i - start);
|
||||
|
||||
@@ -301,7 +301,7 @@ internal static class ImGuiUtil
|
||||
public static void DrawArrows(ref int selected, int min, int max, float spacing, int id = 0)
|
||||
{
|
||||
// Prevents changing values from triggering EndDisable
|
||||
var isMin = selected == 1;
|
||||
var isMin = selected == min;
|
||||
var isMax = selected == max;
|
||||
|
||||
ImGui.SameLine(0, spacing);
|
||||
|
||||
Reference in New Issue
Block a user