You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgraded to Cpp 20
Changes facebook link to discord in help.
Fixed bug which sometimes did not copy neuronengine.dll to output folder
Added Gate synapse type
Changed "reset" synpase weight from 0.0 to 0.2 so hebbian could work
Fixed bug where RefractoryDelay was not properly saved/restored to network files
Impreoved display of synapse animations
Changed YesNo message boxes to OKCancel so ESC would work
Several fixes to Synapse dragging
Copy file name to clipboardExpand all lines: BrainSimulator/NeuronArrayViewClipBoard.cs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -416,8 +416,8 @@ public void MoveNeurons(bool dragging = false)
416
416
417
417
if(!IsDestinationClear(neuronsToMove,offset))
418
418
{
419
-
MessageBoxResultresult=MessageBox.Show("Some destination neurons are in use and will be overwritten, continue?\n\nYou can also right-click the final destination neuron and select 'Move Here.'","Continue",MessageBoxButton.YesNo);
420
-
if(result==MessageBoxResult.No)return;
419
+
MessageBoxResultresult=MessageBox.Show("Some destination neurons are in use and will be overwritten, continue?\n\nYou can also right-click the final destination neuron and select 'Move Here.'","Continue",MessageBoxButton.OKCancel);
@@ -450,8 +458,8 @@ private void MoveModule(FrameworkElement theShape, int currentNeuron)
450
458
}
451
459
if(!IsDestinationClear(neuronsToMove,delta))
452
460
{
453
-
MessageBoxResultresult1=MessageBox.Show("Some destination neurons are in use and will be overwritten, continue?","Continue",MessageBoxButton.YesNo);
454
-
if(result1!=MessageBoxResult.Yes)
461
+
MessageBoxResultresult1=MessageBox.Show("Some destination neurons are in use and will be overwritten, continue?","Continue",MessageBoxButton.OKCancel);
0 commit comments