Bug: Editor can't render ScalableProp with undefined size

Aberta
#243 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
55/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
typescript
Domínio
tooling

Direção de pesquisa

Start by tracing how the editor loads and renders scalable props, using waterfallLong in heat-dng/f2/room-cold and sandLine in heat-dng/g/room-09 as examples. Compare those vanilla props with the JSON workaround that supplies a size. Done means both kinds of vanilla prop appear in the editor and can be interacted with.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

Some vanilla maps use scalable props with undefined size. Inside heat-dng/f2/room-cold, there are scalable props called waterfallLong from the heat-dng sheet that do not have a defined size. The map editor doesn't render these at all, thus there is no way to interact with them without blindly doing it in the json.

image
image

Another example of this are the sandLine props from the heat-dng sheet. These can be found in heat-dng/g/room-09.

A workaround is to manually define a prop in the JSON which includes a value for size. These will work and show up in the editor, but vanilla props will not.
image
image

Linguagem predominante
TypeScript
Estrelas
59
Forks
19
Merge médio
32min
PRs com merge (30d)
2

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de CCDirectLink/crosscode-map-editor

Todas as issues de CCDirectLink/crosscode-map-editor

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.