fixed order
This commit is contained in:
parent
7ed9bb2f38
commit
8a51c5ad52
|
@ -12,6 +12,7 @@ import { CurrentLanguage } from '../../internalisation/stores/currentLanguage'
|
||||||
import { fromSimulationState } from '../../saving/helpers/fromState'
|
import { fromSimulationState } from '../../saving/helpers/fromState'
|
||||||
import { cleanSimulation } from '../../simulation-actions/helpers/clean'
|
import { cleanSimulation } from '../../simulation-actions/helpers/clean'
|
||||||
import { getSimulationState } from '../../saving/helpers/getState'
|
import { getSimulationState } from '../../saving/helpers/getState'
|
||||||
|
import { categories } from '../../saving/data/categories'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Compiles a simulation into a logicGate
|
* Compiles a simulation into a logicGate
|
||||||
|
@ -46,7 +47,8 @@ export const compileIc = (state: SimulationState) => {
|
||||||
outputs: {
|
outputs: {
|
||||||
count: outputCount
|
count: outputCount
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
category: categories.ic
|
||||||
}
|
}
|
||||||
|
|
||||||
templateStore.set(name, result)
|
templateStore.set(name, result)
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
export const categories = {
|
export const categories = {
|
||||||
basic: 0,
|
basic: 0,
|
||||||
io: 3,
|
|
||||||
math: 1,
|
math: 1,
|
||||||
time: 2,
|
time: 2,
|
||||||
advancedIo: 4,
|
compressing: 3,
|
||||||
compressing: 5
|
io: 4,
|
||||||
|
advancedIo: 5,
|
||||||
|
ic: 6
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue