- for _, pos in pairs({"TOPLEFT"}) do
- inds[pos] = base:CreateTexture(nil, "OVERLAY");
- inds[pos]:SetPoint(pos, base, pos);
- inds[pos]:SetWidth(indSize);
- inds[pos]:SetHeight(indSize);
- inds[pos]:SetTexture(rhomb);
- inds[pos]:SetVertexColor(0, 1, 0.5);
- inds[pos]:Hide();
- inds[pos].text = base:CreateFontString(nil, "OVERLAY", "GameFontHighlight");
- inds[pos].text:SetPoint("BOTTOMRIGHT", inds[pos], "BOTTOMRIGHT");
- inds[pos].text:Hide();
- end
+ inds["TOPLEFT"] = base:CreateTexture(nil, "OVERLAY");
+ inds["TOPLEFT"]:SetPoint("TOPLEFT", base, "TOPLEFT");
+ inds["TOPLEFT"]:SetWidth(indSize);
+ inds["TOPLEFT"]:SetHeight(indSize);
+ inds["TOPLEFT"]:SetTexture(rhomb);
+ inds["TOPLEFT"]:SetVertexColor(0, 1, 0.5);
+ inds["TOPLEFT"]:Hide();
+ inds["TOPLEFT"].text = base:CreateFontString(nil, "OVERLAY", "GameFontHighlight");
+ inds["TOPLEFT"].text:SetPoint("BOTTOMRIGHT", inds["TOPLEFT"], "BOTTOMRIGHT");
+ inds["TOPLEFT"].text:Hide();