mirror of
https://github.com/brues-code/pfUI.git
synced 2026-11-07 19:08:58 +00:00
Zoom, pan and per-slot undress in the dressing room
EnableClickRotate becomes EnableModelControls, the controls of 4.3.4's ModelWithControlsTemplate: left-drag turns the model without ClassicAPI's step animation, the mouse wheel moves the camera toward the face with SetPortraitZoom, and right-drag pans with 4.3.4's per-race pan speed and bounds. Showing the frame resets zoom and pan. Every model frame pfUI skins gets them. The dressing room gains an Undress button and a column of slot buttons on each side, in the paperdoll's order; clicking one calls UndressSlot.
This commit is contained in:
@@ -171,7 +171,7 @@ pfUI:RegisterSkin("Character", function ()
|
||||
StripTextures(CharacterAttributesFrame)
|
||||
StripTextures(CharacterResistanceFrame)
|
||||
|
||||
EnableClickRotate(CharacterModelFrame)
|
||||
EnableModelControls(CharacterModelFrame)
|
||||
CharacterModelFrameRotateLeftButton:Hide()
|
||||
CharacterModelFrameRotateRightButton:Hide()
|
||||
|
||||
@@ -207,7 +207,7 @@ pfUI:RegisterSkin("Character", function ()
|
||||
PetNameText:ClearAllPoints()
|
||||
PetNameText:SetPoint("TOP", CharacterFrame.backdrop, "TOP", 0, -10)
|
||||
|
||||
EnableClickRotate(PetModelFrame)
|
||||
EnableModelControls(PetModelFrame)
|
||||
PetModelFrameRotateLeftButton:Hide()
|
||||
PetModelFrameRotateRightButton:Hide()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user