Skip to content
This repository has been archived by the owner on Jun 11, 2022. It is now read-only.

Fix zoom (center in canvas and use viewBox) and zoom in by default to fill the canvas #40

Closed
wants to merge 2 commits into from

Conversation

Zren
Copy link

@Zren Zren commented Oct 5, 2016

This is just my hacks in my local copy. Copy anything you like into another commit.

  • It doesn't actually "zoom in" (zoomValue is still 1) since we use style="width: 100%. The zoom label will show 100% still.
  • I'm highjacking the renderSvgText to hook "svg loaded".

@josa42 josa42 closed this Oct 6, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants