File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1818#include " UnityEngine/Resources.hpp"
1919
2020#include " System/Action_1.hpp"
21- #include " System/Linq/Enumerable.hpp"
2221#include " System/Collections/Generic/LinkedListNode_1.hpp"
2322#include " System/Collections/Generic/LinkedList_1.hpp"
2423
2524#include " custom-types/shared/delegate.hpp"
2625
27-
2826#include " HMUI/CurvedCanvasSettings.hpp"
29- #include " fmt/format.h"
3027
3128DEFINE_TYPE (SongChartVisualizer, ChartView);
3229
@@ -41,6 +38,8 @@ namespace SongChartVisualizer
4138 _audioTimeSyncController = audioTimeSyncController;
4239 _beatmapData = readonlyBeatmapData;
4340 _timeTweeningManager = timeTweeningManager;
41+
42+ INVOKE_CTOR ();
4443 }
4544
4645 void ChartView::Initialize ()
@@ -55,7 +54,7 @@ namespace SongChartVisualizer
5554 _floatingScreen->GetComponent <Canvas*>()->set_sortingOrder (0 );
5655
5756 _comboUIController = UnityEngine::Resources::FindObjectsOfTypeAll<ComboUIController*>().front_or_default ();
58- _floatingScreen->get_transform ()->SetParent (_comboUIController->get_transform (), true );
57+ _floatingScreen->get_transform ()->SetParent (_comboUIController->get_transform ()-> parent , true );
5958
6059 if (getModConfig ().showBackground .GetValue ())
6160 {
You can’t perform that action at this time.
0 commit comments