diff --git a/apps/ai-game-creator-shell/src/styles.css b/apps/ai-game-creator-shell/src/styles.css index 28fa6e4c1..e44895373 100644 --- a/apps/ai-game-creator-shell/src/styles.css +++ b/apps/ai-game-creator-shell/src/styles.css @@ -5087,6 +5087,7 @@ iframe.preview-frame { background-color: #fffdfa; background-image: radial-gradient(#eaded8 0.8px, transparent 0.8px); background-size: 18px 18px; + user-select: none; } .game-resource-canvas--dependency { diff --git a/apps/ai-game-creator-shell/tests/appSurface/project-development.suite.ts b/apps/ai-game-creator-shell/tests/appSurface/project-development.suite.ts index 4eb8f6f63..28de13cd5 100644 --- a/apps/ai-game-creator-shell/tests/appSurface/project-development.suite.ts +++ b/apps/ai-game-creator-shell/tests/appSurface/project-development.suite.ts @@ -1844,6 +1844,9 @@ export function registerProjectWorkbenchFoundationTests() { expect(styles).toMatch( /\.game-resource-card-open\s*\{[^}]*cursor:\s*pointer[^}]*touch-action:\s*manipulation/s, ); + expect(styles).toMatch( + /\.game-resource-canvas\s*\{[^}]*user-select:\s*none/s, + ); expect(styles).not.toMatch(/\.game-resource-card\.is-dragging/); fireEvent.click(artReceiptButton);