Skip to content

Zoom never sets the zoom, just adds to it? #4

@Folcon

Description

@Folcon

I was trying to use zoom! to change the zoom level to 1px = 1m away from the default of 100px = 1m.

However it was really unclear that zoom! is actually adding to the current zoom level instead of setting it.

In this case a doc to that effect or naming it zoom+! may be better?

So the correct operation is actually:

(b/zoom! -99)

not

(b/zoom! 1)

Otherwise this looks like quite a nice library, thanks for creating it!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions