public override void releaseLeftClick(int x, int y) { if (GameMenu.forcePreventClose) { return; } base.releaseLeftClick(x, y); FilterTextBox?.Update(); if (_optionsSlotHeld != -1 && _optionsSlotHeld + _currentItemIndex < Options.Count) { Options[_currentItemIndex + _optionsSlotHeld].LeftClickReleased( x - _optionSlots[_optionsSlotHeld].bounds.X, y - _optionSlots[_optionsSlotHeld].bounds.Y); } _optionsSlotHeld = -1; _scrolling = false; }