diff --git a/source-code/source/plugins/Launcher/ui.h b/source-code/source/plugins/Launcher/ui.h index 1ab4a24..d69e4ce 100644 --- a/source-code/source/plugins/Launcher/ui.h +++ b/source-code/source/plugins/Launcher/ui.h @@ -663,7 +663,7 @@ private: System::Windows::Forms::Button^ button_Wiki; this->trackBar_LagCompensation->Size = System::Drawing::Size(500, 90); this->trackBar_LagCompensation->TabIndex = 0; this->trackBar_LagCompensation->TickStyle = System::Windows::Forms::TickStyle::None; - this->trackBar_LagCompensation->ValueChanged += gcnew System::EventHandler(this, &ui::trackBar_LagCompensation_ValueChanged); + this->trackBar_LagCompensation->Scroll += gcnew System::EventHandler(this, &ui::trackBar_LagCompensation_Scroll); // // groupBox_Details // @@ -1205,7 +1205,7 @@ private: String^ GPUIssueText; private: System::Void LinkLabelLinkClickedGPUIssueHandler(System::Object^ sender, System::Windows::Forms::LinkLabelLinkClickedEventArgs^ e) { SkinnedMessageBox::Show(this, GPUIssueText, "PD Launcher", MessageBoxButtons::OK, MessageBoxIcon::Warning); } -private: System::Void trackBar_LagCompensation_ValueChanged(System::Object^ sender, System::EventArgs^ e) { +private: System::Void trackBar_LagCompensation_Scroll(System::Object^ sender, System::EventArgs^ e) { *LagCompensationConfigChanged = true; updateLagCompMsec(); @@ -1215,7 +1215,5 @@ private: System::Void tabPage_Resolution_Click(System::Object^ sender, System::E private: System::Void button_Wiki_Click(System::Object^ sender, System::EventArgs^ e) { System::Diagnostics::Process::Start("https://github.com/PDModdingCommunity/PD-Loader/wiki"); } -private: System::Void trackBar_LagCompensation_Scroll(System::Object^ sender, System::EventArgs^ e) { -} }; }