Replies: 1 comment 1 reply
-
You need to specify the
background: {
color: '#F8F9FA',
image: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAIElEQVQoU2NkIALcuvU/jZEIdQyjCvGGEjh4QAQxYQkAIfcfBcQyCEYAAAAASUVORK5CYII=',
repeat: 'repeat',
size: '20px 20px'
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Introduction
When an image is used as background of a paper, every time a zoom event occurs the background image gets zoomed too. Is there a way to stop the background image from scaling?
I realize also the same zooming happens when using drawGrid: { name: 'mesh'}. The mesh lines expand/retract as we zoom in /out.
Steps to reproduce
Below is the code I use to construct the background image of a paper. The image just creates a background similar to JointJS mesh.
Restrictions & Constraints
No response
Does your question relate to JointJS or JointJS+. Select both if applicable.
JointJS+
Beta Was this translation helpful? Give feedback.
All reactions