The fix: cursor.position_in(bounds) returns RELATIVE coordinates, but we were drawing at those relative positions directly. Solution: Add bounds.x and bounds.y offset when drawing. - selection.region stores relative coords (from cursor) - when drawing: absolute = relative + bounds offset This fixes the Y-position being too far up. |
||
|---|---|---|
| .. | ||
| application | ||
| domain | ||
| infrastructure | ||
| ui | ||
| config.rs | ||
| i18n.rs | ||
| main.rs | ||