Skip to content

Commit

Permalink
rebirth bandaid reversed notefield customization mouse dragging logic
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Dec 12, 2021
1 parent f321f3d commit 20f57ce
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Themes/Rebirth/Graphics/elementborder.lua
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@ return Def.ActorFrame {
local differenceX = newx - pp:GetX()
local differenceY = newy - pp:GetY()

-- massive gigantic hack
-- not really interested in figuring out why this is necessary
if getPlayerOptions():UsingReverse() and pp:GetName() == "NoteField" then
differenceY = differenceY * -1
end

pp:x(newx):y(newy)
setSelectedCustomizeGameplayElementActorPosition(differenceX, differenceY)
end,
Expand Down

0 comments on commit 20f57ce

Please sign in to comment.