Skip to content

Conversation

@TripleTre
Copy link
Contributor

No description provided.

TripleTre and others added 5 commits October 29, 2025 15:04
- Implement ResizableContainer class for slide and whiteboard containers
- Support touchpad pinch-to-zoom (0.5x-2x range) with smooth scaling
- Support Ctrl/Cmd + wheel zoom and Shift + wheel drag
- Add separate handling for slide (transform scale) and whiteboard (width/height)
- Ensure zoom center follows mouse position for both containers
- Implement synchronized movement to maintain perfect overlap
- Add proper destroy methods for cleanup
- Support large interaction area within parent element
- Add support for two-finger drag movement when scaled
- Implement intelligent touch gesture detection (scale vs drag)
- Add Cmd/Ctrl+M mouse drag functionality
- Extend scale range to 0.1x - 2.0x for better flexibility
- Improve movement boundary calculations
- Add comprehensive keyboard and mouse event handling

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
- Remove all interactive scaling logic (touch, mouse, keyboard)
- Add scaleContainer method for programmatic scaling
- Merge scaleContainer and updateContainers into single function
- Implement proper whiteboard centering logic
- Add storage listener for slideScale changes in SlideDocsViewer
- Add triggerSlideResizeObserver to handle transform-based scaling
- Support whiteboard and slide synchronization
- Fix storage state listener to handle diff.newValue format
- Clean up ResizableContainer by removing duplicate logic
- Remove unnecessary whiteboardTranslateX/Y properties
- Simplify scaleContainer and updateContainers methods
- Add debug logging for scaleView functionality
- Optimize ResizeObserver setup and cleanup
@hqer927 hqer927 merged commit 5fc38be into netless-io:slide-0.2 Oct 29, 2025
1 check failed
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.

2 participants