@QooQooDaas wrote:
Environment:
- Browser(Chrome latest)
- go.js 2.0.16
Hi, I’m wondering if there’s any way to show scroll when zooming in/out the diagram. The reason I’m curious about this feature is that the user may wonder where he/she is at the moment while traveling around the diagram through zooming. I’ve noticed I could sort of achieve the needs through overview but it’s just my curiosity if the showing scroll is possible on zooming.
I’m leaving an might-related code setting below:
this.diagram = go.GraphObject.make(go.Diagram, this.option.container, { allowDelete: false, maxSelectionCount: 1, initialContentAlignment: go.Spot.Center }); this.diagram.animationManager.isEnabled = false; this.diagram.scrollMode = go.Diagram.InfiniteScroll; this.diagram.toolManager.mouseWheelBehavior = go.ToolManager.WheelZoom; this.diagram.allowDrop = false;Thanks for your help in advance!
Posts: 3
Participants: 2