fix: use correct image for tooltip

This commit is contained in:
Anna 2024-07-01 11:56:48 -04:00
parent cd549e76fb
commit 7a9570ff1a
Signed by: anna
GPG Key ID: D0943384CD9F87D1

View File

@ -285,7 +285,7 @@ internal class Write : ITab {
ImGui.BeginTooltip();
using var endTooltip = new OnDispose(ImGui.EndTooltip);
var glyphImage = this.GetGlyphImage(this._glyph);
var glyphImage = this.GetGlyphImage(i);
var wrap = glyphImage.GetWrapOrEmpty();
ImGui.Image(wrap.ImGuiHandle, new Vector2(imageHeight));
tooltipShown = true;