feat(mapgen-studio): disable canvas controller and grab cursor pre-run#1639
Merged
Conversation
This was referenced Jun 12, 2026
Merged
refactor(studio): decompose App.tsx non-React corpus into feature modules and shared utilities
#1608
Merged
Merged
|
Railway preview (MapGen Studio): not provisioned for this PR. Policy (Graphite stacks): previews are created only for the top-of-stack PR by default.
Debug: |
This was referenced Jun 12, 2026
This was referenced Jun 12, 2026
Merged
mateicanavra
force-pushed
the
design/tile-orientation
branch
from
June 12, 2026 20:44
df29c71 to
edc6c49
Compare
mateicanavra
force-pushed
the
design/prerun-cursor
branch
from
June 12, 2026 20:44
08bdec8 to
c42a9f1
Compare
Owner
Author
Merge activity
|
mateicanavra
changed the base branch from
design/tile-orientation
to
graphite-base/1639
June 12, 2026 21:58
…a drag until a manifest exists
mateicanavra
force-pushed
the
design/prerun-cursor
branch
from
June 12, 2026 22:00
c42a9f1 to
507cd4b
Compare
This was referenced Jun 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before a run completes, the map canvas displayed a grab cursor even though dragging moved nothing visible — the deck controller was active but the only pre-run texture is a CSS graticule behind the canvas, not a deck layer. This gave users a misleading affordance.
DeckCanvasnow accepts aninteractiveprop (defaults totrue) that gates both the deck controller and the cursor. Whenfalse, the controller is disabled and the cursor isdefault; whentrue, the controller (including themoveSpeed: 150keyboard tuning) and the grab/grabbing cursor are active. Transitions between states apply viasetPropsso the Deck instance is never remounted.CanvasStagepassesinteractive={hasManifest}, using the same boolean gate that controls the "Awaiting matter" overlay, so the cursor and camera interactivity become live exactly when there is rendered matter to interact with.