Bug: Editor can't render ScalableProp with undefined size

Abierto
#243 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
55/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
typescript
Área
tooling

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
TypeScript
Estrellas
59
Forks
19
Merge medio
32 min
PR fusionados (30 d)
2

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de CCDirectLink/crosscode-map-editor

Todos los issues de CCDirectLink/crosscode-map-editor

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.