Skip to content

Allows inpainting in GUI to work on devices #1487

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
517 changes: 517 additions & 0 deletions frontend/dist/assets/index.6d0d23f4.js

Large diffs are not rendered by default.

501 changes: 0 additions & 501 deletions frontend/dist/assets/index.8eb7dfe4.js

This file was deleted.

501 changes: 0 additions & 501 deletions frontend/dist/assets/index.a8ba2a6c.js

This file was deleted.

2 changes: 1 addition & 1 deletion frontend/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>InvokeAI - A Stable Diffusion Toolkit</title>
<link rel="shortcut icon" type="icon" href="./assets/favicon.0d253ced.ico" />
<script type="module" crossorigin src="./assets/index.a8ba2a6c.js"></script>
<script type="module" crossorigin src="./assets/index.6d0d23f4.js"></script>
<link rel="stylesheet" href="./assets/index.40a72c80.css">
</head>

Expand Down
3 changes: 3 additions & 0 deletions frontend/src/features/tabs/Inpainting/InpaintingCanvas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,9 @@ const InpaintingCanvas = () => {
onMouseUp={handleMouseUp}
onMouseOut={handleMouseOutCanvas}
onMouseLeave={handleMouseOutCanvas}
onTouchStart={handleMouseDown}
onTouchMove={handleMouseMove}
onTouchEnd={handleMouseUp}
style={{ ...(stageCursor ? { cursor: stageCursor } : {}) }}
className="inpainting-canvas-stage checkerboard"
ref={stageRef}
Expand Down