File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Source/RunActivity/Viewer3D/Debugging Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1541,7 +1541,7 @@ private void HandlePickedSignal()
15411541 if ( signalPickedItem == null ) return ;
15421542 var y = LastCursorPosition . Y ;
15431543 if ( LastCursorPosition . Y < 100 ) y = 100 ;
1544- if ( LastCursorPosition . Y > pictureBox1 . Size . Height - 100 ) y = pictureBox1 . Size . Height - 100 ;
1544+ if ( LastCursorPosition . Y > pbCanvas . Size . Height - 100 ) y = pbCanvas . Size . Height - 100 ;
15451545
15461546 if ( boxSetSignal . Items . Count == 5 )
15471547 boxSetSignal . Items . RemoveAt ( 4 ) ;
Original file line number Diff line number Diff line change 2727using System . Diagnostics ;
2828using System . Drawing ;
2929using System . Linq ;
30+ using Color = System . Drawing . Color ;
3031
3132namespace Orts . Viewer3D . Debugging
3233{
You can’t perform that action at this time.
0 commit comments