Skip to content

Conversation

@theaniketgiri
Copy link

Fixes part of #3500: Layers now follow the cursor correctly when panning/tilting/zooming the viewport while dragging.

Changes:

  • Add drag_start_document field to store drag position in document space
  • Add DocumentPTZUpdate message for coordinated PTZ handling
  • Recalculate viewport-space positions when PTZ changes during drag
  • Update PTZUpdate to send DocumentPTZUpdate for proper coordination

Fixes part of GraphiteEditor#3500: Layers now follow the cursor correctly when
panning/tilting/zooming the viewport while dragging.

Changes:
- Add drag_start_document field to store drag position in document space
- Add DocumentPTZUpdate message for coordinated PTZ handling
- Recalculate viewport-space positions when PTZ changes during drag
- Update PTZUpdate to send DocumentPTZUpdate for proper coordination
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