Open CorgiMan opened 6 months ago
In the LAYER parser, when colorIndex is given, the color itself is not added https://github.com/dotoritos-kim/dxf-json/blob/40ac5994a15529eda2ba3fe9bad53e7a0e7511ea/src/parser/tables/layer/parser.ts#L37
For entities this does happen correctly https://github.com/dotoritos-kim/dxf-json/blob/40ac5994a15529eda2ba3fe9bad53e7a0e7511ea/src/parser/entities/shared.ts#L101
In the LAYER parser, when colorIndex is given, the color itself is not added https://github.com/dotoritos-kim/dxf-json/blob/40ac5994a15529eda2ba3fe9bad53e7a0e7511ea/src/parser/tables/layer/parser.ts#L37
For entities this does happen correctly https://github.com/dotoritos-kim/dxf-json/blob/40ac5994a15529eda2ba3fe9bad53e7a0e7511ea/src/parser/entities/shared.ts#L101