From ddfd154412c790d1b8468820966e2282071c4e32 Mon Sep 17 00:00:00 2001 From: Goatgarien Date: Sat, 10 Sep 2022 01:02:58 -0700 Subject: [PATCH] fixed it not building for me --- BAKKA-Editor/MainForm.Designer.cs | 2 +- BAKKA-Editor/MainForm.cs | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/BAKKA-Editor/MainForm.Designer.cs b/BAKKA-Editor/MainForm.Designer.cs index e67feee..f26f9ff 100644 --- a/BAKKA-Editor/MainForm.Designer.cs +++ b/BAKKA-Editor/MainForm.Designer.cs @@ -1332,7 +1332,7 @@ this.MainMenuStrip = this.menuStrip; this.MinimumSize = new System.Drawing.Size(1158, 826); this.Name = "MainForm"; - this.Text = "BAKKA Sharp - [New File]"; + this.Text = "BAKKA Editor - [New File]"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing); this.Resize += new System.EventHandler(this.MainForm_Resize); this.groupBox1.ResumeLayout(false); diff --git a/BAKKA-Editor/MainForm.cs b/BAKKA-Editor/MainForm.cs index 50651ce..3e31252 100644 --- a/BAKKA-Editor/MainForm.cs +++ b/BAKKA-Editor/MainForm.cs @@ -18,9 +18,9 @@ namespace BAKKA_Editor OperationManager opManager = new OperationManager(); // Graphics - BufferedGraphicsContext gfxContext; + BufferedGraphicsContext gfxContext = BufferedGraphicsManager.Current; BufferedGraphics bufGraphics; - CircleView circleView; + CircleView circleView = new CircleView(new SizeF(611, 611)); // Note Selection NoteType currentNoteType = NoteType.TouchNoBonus; @@ -70,7 +70,7 @@ namespace BAKKA_Editor circlePanel.MouseWheel += circlePanel_MouseWheel; // Setup graphics - gfxContext = BufferedGraphicsManager.Current; + //gfxContext = BufferedGraphicsManager.Current; SetBufferedGraphicsContext(); circleView = new CircleView(circlePanel.Size); @@ -171,7 +171,7 @@ namespace BAKKA_Editor { string save = chart.IsSaved ? "" : "*"; string name = isRecoveredFile ? "Auto-Save Recover" : (isNewFile ? "New File" : saveFileDialog.FileName); - Text = $"{save}BAKKA Sharp {fileVersion} - [{name}]"; + Text = $"{save}BAKKA Editor {fileVersion} - [{name}]"; } private void SetBufferedGraphicsContext() @@ -1421,7 +1421,7 @@ namespace BAKKA_Editor private void aboutToolStripMenuItem_Click(object sender, EventArgs e) { - MessageBox.Show($"A reimagining of Goatgarien's BAKKA Editor.\n\nCode: VeroxZik\n\nUI Inspiration: Yellowberry", $"BAKKA Sharp {fileVersion}"); + MessageBox.Show($"A reimagining of Goatgarien's BAKKA Editor.\n\nCode: VeroxZik\n\nUI Inspiration: Yellowberry", $"BAKKA Editor {fileVersion}"); } private void initialChartSettingsToolStripMenuItem_Click(object sender, EventArgs e)