Skip to content

Commit

Permalink
Additional controls cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghostopheles committed Jan 6, 2024
1 parent 2d6f884 commit 30570d2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
1 change: 0 additions & 1 deletion Datamine/Modules/ModelView/ModelViewFrames.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
<OnShow inherit="prepend">
self.Label:SetText(self.LabelText);
self.Label:Show();
self:SetText("");
</OnShow>
<OnEnterPressed>
if not self.Callback then return end;
Expand Down
9 changes: 4 additions & 5 deletions Datamine/Modules/Unified/Templates/ModelScene/ModelScene.lua
Original file line number Diff line number Diff line change
Expand Up @@ -495,11 +495,6 @@ function DatamineModelSceneMixin:PlayAnimKit(akid)
return actor:PlayAnimationKit(akid);
end

function DatamineModelSceneMixin:TryOnTransmogSet()
local actor = self:GetActiveActor();
local itemModifiedAppearanceIDs = C_TransmogSets.GetAllSourceIDs(transmogSetID);
end

-------------

DatamineModelControlsEditBoxMixin = {};
Expand Down Expand Up @@ -1275,3 +1270,7 @@ function DatamineModelControlsAdvancedPanelEntryMixin:Init(node)
self.EntryBox:SetNumeric(true);
self.EntryBox.Callback = function() data.Callback(self.EntryBox:GetNumber()); end;
end

function DatamineModelControlsAdvancedPanelEntryMixin:OnHide()
self.EntryBox:SetText("");
end
3 changes: 3 additions & 0 deletions Datamine/Modules/Unified/Templates/ModelScene/ModelScene.xml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@
</FontString>
</Layer>
</Layers>
<Scripts>
<OnHide method="OnHide" />
</Scripts>
</Frame>

<Actor name="DatamineModelSceneActorTemplate" mixin="DatamineModelSceneActorMixin"
Expand Down
1 change: 1 addition & 0 deletions Datamine/Modules/Unified/UnifiedRegistry.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Datamine.Events = {
MODEL_CONTROLS_DEFAULTS_UPDATED = "ModelControlsDefaultsUpdated",
MODEL_OUTFIT_UPDATED = "ModelOutfitUpdated",
MODEL_DRESSED = "ModelDressed",
MODEL_CONTROLS_TAB_COLLAPSED = "ModelControlsTabCollapsed",
SEARCH_MODE_CHANGED = "SearchModeChanged",
SEARCH_RESULT = "SearchResult",
SEARCH_BEGIN = "SearchBegin",
Expand Down

0 comments on commit 30570d2

Please sign in to comment.