mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
7ca613d41c
- Rects snap to stage edge when within a threshold (10 screen pixels) - When mouse leaves stage, set last mousedown pos to null, preventing nonfunctional rect outlines Partially addresses #6306. There's a technical challenge to fully address the issue - mouse event are not fired when the mouse is outside the stage. While we could draw the rect even if the mouse leaves, we cannot update the rect's dimensions on mouse move, or complete the drawing on mouse up. To fully address the issue, we'd need to a way to forward window events back to the stage, or at least handle window events. We can explore this later. |
||
---|---|---|
.. | ||
app | ||
assets | ||
backend | ||
configs | ||
frontend | ||
invocation_api | ||
version | ||
__init__.py |