Lemoncode / Lemoncode/quickmock
Space key and move tool
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 70
- Forks
- 23
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
In many design tools, you can move the canvas while working by using the spacebar. Here's how it works:
Activate the Move Tool (temporarily):
While using any tool (e.g., the cursor, text tool, or shape tool), press and hold the spacebar. This temporarily switches your cursor to the "Hand" tool for moving the canvas.
Drag the Canvas:
With the spacebar pressed, click and drag on the canvas with the left mouse button. The canvas will move in the direction you drag.
Release the Spacebar:
Once you release the spacebar, you’ll automatically return to the tool you were using before.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Der Issue nennt keine Dateien, Tests oder Einstiegspunkte. Beginne damit, den Code für die Canvas-Interaktion und die Tool-Auswahl zu finden, und verfolge anschließend, wie Tastatur- und Zeigerereignisse verarbeitet werden. Als abgeschlossen gilt die Änderung, wenn das Gedrückthalten der Leertaste vorübergehend das Ziehen der Canvas ermöglicht und das Loslassen das zuvor ausgewählte Tool wiederherstellt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- typescript
- Bereich
- frontend
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100