refactor: hotkeys

This commit is contained in:
Azgaar 2022-07-09 16:01:00 +03:00
parent a15f60150f
commit 0dd7468184
9 changed files with 220 additions and 165 deletions

7
src/types/pack.d.ts vendored
View file

@ -1,9 +1,12 @@
import {Numeric} from "d3";
interface IPack {
vertices: {
p: TPoints;
v: number[][];
c: number[][];
};
features: IFeature[];
cells: {
i: IntArray;
p: TPoints;
@ -23,6 +26,10 @@ interface IPack {
religions: IReligion[];
}
interface IFeature {
i: Numeric;
}
interface IState {
i: number;
name: string;