Skip to content

Fix - Canvas item selection + move + Cut (Split) a timeline item#1

Open
parth0025 wants to merge 1 commit intomainfrom
fix/spilt-and-canvas-movement
Open

Fix - Canvas item selection + move + Cut (Split) a timeline item#1
parth0025 wants to merge 1 commit intomainfrom
fix/spilt-and-canvas-movement

Conversation

@parth0025
Copy link
Owner

Task 1 : Canvas item selection + move

  • Add real-time position clamping during object:moving event
  • Add final boundary check on object:moved event
  • Clamp handles rotated and scaled objects correctly
  • Smooth clamping prevents jitter during drag

Task 2: Cut (Split) a timeline item

  • Add splitImageElement() method to split image clips while preserving fabric objects
  • Add splitAudioElement() method to split audio with proper offset handling
  • Add splitVideoElement() method to split video with offset and thumbnail management
  • All split methods properly update time frames and maintain playback continuity
  • Integration with MobX state management and history tracking

- Canvas item selection + move
- Cut (Split) a timeline item
@parth0025 parth0025 self-assigned this Jan 29, 2026
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