diff --git a/CustomSorting.xml b/CustomSorting.xml new file mode 100644 index 0000000..e4264f4 --- /dev/null +++ b/CustomSorting.xml @@ -0,0 +1,645 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text = ATSWCSNewCategoryBox:GetText() + + if text ~= ATSW_UNCATEGORIZED then + ATSWCSAddButton_OnClick() + this:SetText("") + this:ClearFocus() + end + + + this:ClearFocus() + + + ATSWCSNewCategoryBox_OnTextChanged() + + + local text = this:GetText() + + this:HighlightText(0, 0) + + if text ~= "" then + ATSWCSAddCategoryLabel:Hide() + ATSWCSAddCategoryIcon:Hide() + else + ATSWCSAddCategoryLabel:Show() + ATSWCSAddCategoryIcon:Show() + end + + + this:HighlightText() + ATSWCSAddCategoryLabel:Hide() + ATSWCSAddCategoryIcon:Hide() + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ATSWCS_OnLoad() + + + ATSWCS_OnShow() + + + ATSWUpdaterFrame:Hide() + ATSW_SwitchingToMain = true + ATSW_SwitchToFrame(ATSWFrame) + + + + + + + \ No newline at end of file