UkrainianBanderasCat / Digital-Logic-Sim2

If you want to update Digital Logic Sim, so you can download this, update and commit
GNU General Public License v3.0
75 stars 21 forks source link

Revert EditChips so it works again #106

Closed firecerne closed 1 year ago

firecerne commented 1 year ago

I don't really know what was added to make it don't work but now it does

mekb-turtle commented 1 year ago

InputBar.GetComponent<ChipInterfaceEditor>().signals.Add(spawnedSignal); was added

loadedChips.Add(spawnedSignal.GetComponent<Chip>()); was moved to before OutputBar.GetComponent<ChipInterfaceEditor>().signals.Add(spawnedSignal);

InputBar.GetComponent<ChipInterfaceEditor>().RefreshCreatedHandles(); and OutputBar.GetComponent<ChipInterfaceEditor>().RefreshCreatedHandles(); were removed

void DisplayWires(string[] path) function was removed

the rest are just indentation or spacing changes, that doesn't affect anything