From 47ed239e3ca443012343971721491b76fe8b0432 Mon Sep 17 00:00:00 2001 From: "born a rick, raised a morty, died a jerry" Date: Sat, 24 Nov 2018 15:49:22 -0500 Subject: [PATCH] properly center chartpreview notefields --- .../BGAnimations/ScreenSelectMusic decorations/wifeTwirl.lua | 3 +-- Themes/Til Death/BGAnimations/_chartpreview.lua | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Themes/Til Death/BGAnimations/ScreenSelectMusic decorations/wifeTwirl.lua b/Themes/Til Death/BGAnimations/ScreenSelectMusic decorations/wifeTwirl.lua index a3f26d7664..9a4ae14e4b 100644 --- a/Themes/Til Death/BGAnimations/ScreenSelectMusic decorations/wifeTwirl.lua +++ b/Themes/Til Death/BGAnimations/ScreenSelectMusic decorations/wifeTwirl.lua @@ -9,7 +9,6 @@ local noteField = false local heyiwasusingthat = false local mcbootlarder local prevX = capWideScale(get43size(98), 98) -local idkwhatimdoing = capWideScale(prevX+8, prevX/2+4) local usingreverse = GAMESTATE:GetPlayerState(PLAYER_1):GetCurrentPlayerOptions():UsingReverse() local prevY = 55 local prevrevY = 208 @@ -108,7 +107,7 @@ local function toggleNoteField() MESSAGEMAN:Broadcast("ChartPreviewOn") -- for banner reaction... lazy -mina mcbootlarder:playcommand("SetupNoteField") mcbootlarder:xy(prevX,prevY) - mcbootlarder:GetChild("NoteField"):xy(prevX+idkwhatimdoing, prevY*1.5) + mcbootlarder:GetChild("NoteField"):y(prevY*1.5) if usingreverse then mcbootlarder:GetChild("NoteField"):y(prevY*1.5 + prevrevY) end diff --git a/Themes/Til Death/BGAnimations/_chartpreview.lua b/Themes/Til Death/BGAnimations/_chartpreview.lua index 84db559800..01cabb5678 100644 --- a/Themes/Til Death/BGAnimations/_chartpreview.lua +++ b/Themes/Til Death/BGAnimations/_chartpreview.lua @@ -26,6 +26,7 @@ local function setUpPreviewNoteField() yeet:zoom(prevZoom):draworder(90) SCREENMAN:GetTopScreen():dootforkfive(memehamstermax) yeet = memehamstermax:GetChild("NoteField") + yeet:x(wodth/2) memehamstermax:SortByDrawOrder() MESSAGEMAN:Broadcast("NoteFieldVisible") end