File tree Expand file tree Collapse file tree
src/TSMapEditor/UI/Windows Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -512,12 +512,12 @@ private void HandleScrollOnEventOrActionParameterTextBox(string currentParameter
512512 int waypointIdentifier = Helpers . GetWaypointNumberFromAlphabeticalString ( currentParameterValue ) ;
513513 if ( Cursor . ScrollWheelValue < 0 && map . Waypoints . Exists ( wp => wp . Identifier == waypointIdentifier + 1 ) )
514514 {
515- textBox . Text = Helpers . WaypointNumberToAlphabeticalString ( waypointIdentifier + 1 ) ;
515+ textBox . Text = ( waypointIdentifier + 1 ) . ToString ( CultureInfo . InvariantCulture ) ;
516516 EditTrigger ( editedTrigger ) ;
517517 }
518518 else if ( Cursor . ScrollWheelValue > 0 && map . Waypoints . Exists ( wp => wp . Identifier == waypointIdentifier - 1 ) )
519519 {
520- textBox . Text = Helpers . WaypointNumberToAlphabeticalString ( waypointIdentifier - 1 ) ;
520+ textBox . Text = ( waypointIdentifier - 1 ) . ToString ( CultureInfo . InvariantCulture ) ;
521521 EditTrigger ( editedTrigger ) ;
522522 }
523523 break ;
You can’t perform that action at this time.
0 commit comments