Skip to content

fix: resolve QPoint/QPointF type mismatch when moving vertices fixed #237#238

Open
feyzhen wants to merge 1 commit into
vietanhdev:mainfrom
feyzhen:fix-points_over_window
Open

fix: resolve QPoint/QPointF type mismatch when moving vertices fixed #237#238
feyzhen wants to merge 1 commit into
vietanhdev:mainfrom
feyzhen:fix-points_over_window

Conversation

@feyzhen

@feyzhen feyzhen commented Jun 11, 2026

Copy link
Copy Markdown

intersection_point() returns a QPoint, which cannot be subtracted from a QPointF in shape vertices, causing a TypeError on drag. Normalize all coordinates to QPointF before arithmetic, fixing the crash when dragging vertices or moving shapes.

intersection_point() returns a QPoint, which cannot be subtracted
from a QPointF in shape vertices, causing a TypeError on drag.
Normalize all coordinates to QPointF before arithmetic, fixing the
crash when dragging vertices or moving shapes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant