Skip to content

Hook up document scrollbars and make them interactable #307

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Keavon opened this issue Jul 25, 2021 · 0 comments · Fixed by #328 or #351
Closed

Hook up document scrollbars and make them interactable #307

Keavon opened this issue Jul 25, 2021 · 0 comments · Fixed by #328 or #351
Assignees
Labels
Web Involves web programming (TypeScript, Svelte, CSS)
Milestone

Comments

@Keavon
Copy link
Member

Keavon commented Jul 25, 2021

Scrollbars are visually implemented but they need to work based on user interaction, and need to be hooked up to the backend to display the current scroll status and make the interaction tell the backend about the scrolling. This includes dragging the bar, clicking in the track to the sides of the bar, and clicking the arrows at the ends of the bar. Some of this will be implemented in the PersistentScrollbar.vue component and some will be implemented in the Document.vue component. For an infinite canvas, the bar's width should be based on the bounding box of the artwork in the canvas (from the angle of the current rotation of the viewport, just like you'd see if you selected all the layers in the document and saw the Select Tool's selection bounding box), and it should be based on the artboard dimensions when the canvas is not an infinite canvas.

@Keavon Keavon added Feature Web Involves web programming (TypeScript, Svelte, CSS) labels Jul 25, 2021
@Keavon Keavon added this to the Sprint 6 (current) milestone Jul 25, 2021
@0HyperCube 0HyperCube self-assigned this Aug 2, 2021
@Keavon Keavon removed the In-Progress label Sep 1, 2021
@0HyperCube 0HyperCube moved this to Completed This Sprint in Task Board Mar 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Web Involves web programming (TypeScript, Svelte, CSS)
Projects
Archived in project
2 participants