Bind arrow keys to move entities one step

Ouverte
#361 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
68/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
typescript
Domaine
devtools

Piste de recherche

Start by locating the editor's keyboard handling and entity movement entry points, then read how selected entities and the entity grid are represented. Implement the requested first option: an arrow key moves all selected entities one grid step, or one pixel when the grid is disabled. Check that movement works in each direction and with the grid both enabled and disabled; held-key repetition and Shift movement are optional additions.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

It would be great if, to move entities with greater precision, I can press an arrow key. Ideally, pressing an arrow key would move all selected entities one step along the entity grid in that direction (or one pixel if the grid is disabled), and holding shift while pressing an arrow key would move it five steps. Holding down an arrow key should move the entity smoothly in that direction, with increasing speed as time goes on. However, I'm only really asking for the first option, the additions to that would be useful but not nearly as much and I don't know how difficult to implement.

Langage dominant
TypeScript
Étoiles
59
Forks
19
Merge moyen
32 min
PR mergées (30 j)
2

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de CCDirectLink/crosscode-map-editor

Toutes les issues de CCDirectLink/crosscode-map-editor

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.