Skip to content

Commit

Permalink
rebirth move permamirror and favorite icon off the banners
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Dec 13, 2021
1 parent f183bef commit 192affc
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -713,17 +713,23 @@ local function songActorBuilder()
end,
SetPositionCommand = function(self)
if getWheelPosition() then
self:x(actuals.Width / 2)
--[[ old position was on the banner
if useWheelBanners() then
self:x(-actuals.Width / 2 + actuals.BannerWidth - actuals.ItemFavoriteIconRightGap)
else
self:x(actuals.Width / 2)
end
]]
else
self:x(-actuals.Width / 2)
--[[ old position was on the banner
if useWheelBanners() then
self:x(actuals.Width / 2 - actuals.BannerWidth + actuals.ItemFavoriteIconRightGap)
else
self:x(-actuals.Width / 2)
end
]]
end
end,
UpdateWheelBannersCommand = function(self)
Expand All @@ -750,17 +756,23 @@ local function songActorBuilder()
end,
SetPositionCommand = function(self)
if getWheelPosition() then
self:x(actuals.Width / 2 - actuals.ItemPermamirrorIconRightGap)
--[[ old position was on the banner
if useWheelBanners() then
self:x(-actuals.Width / 2 + actuals.BannerWidth - actuals.ItemPermamirrorIconRightGap)
else
self:x(actuals.Width / 2 - actuals.ItemPermamirrorIconRightGap)
end
]]
else
self:x(-actuals.Width / 2 + actuals.ItemPermamirrorIconRightGap)
--[[ old position was on the banner
if useWheelBanners() then
self:x(actuals.Width / 2 - actuals.BannerWidth + actuals.ItemPermamirrorIconRightGap)
else
self:x(-actuals.Width / 2 + actuals.ItemPermamirrorIconRightGap)
end
]]
end
end,
UpdateWheelBannersCommand = function(self)
Expand Down

0 comments on commit 192affc

Please sign in to comment.