Skip to content

Commit

Permalink
change the svg pattern into smaller scale
Browse files Browse the repository at this point in the history
  • Loading branch information
CloudLun committed Dec 7, 2023
1 parent e2fe6bf commit 11b9843
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/Map/Map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,13 @@ const Map = () => {
})


let patternRepImg = new Image(100, 100)
let patternRepImg = new Image(80, 80)
patternRepImg.onload = () => m.addImage("pattern_rep", patternRepImg, {
sdf: true,
})
patternRepImg.src = pattern_red.src

let patternDemoImg = new Image(100, 100)
let patternDemoImg = new Image(80, 80)
patternDemoImg.onload = () => m.addImage("pattern_demo", patternDemoImg, {
sdf: true,
})
Expand Down

0 comments on commit 11b9843

Please sign in to comment.