diff options
Diffstat (limited to 'html/rogue/js/world.js')
-rw-r--r-- | html/rogue/js/world.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/html/rogue/js/world.js b/html/rogue/js/world.js index 6dbc8ee..f68ece6 100644 --- a/html/rogue/js/world.js +++ b/html/rogue/js/world.js @@ -672,8 +672,8 @@ const renderMapleTree = (ctx, tree, groundY) => { leafClusters, trunkColor, canopyColor } = config; - // Draw trunk base - const trunkWidth = width/4; + // Draw trunk base with narrower width (changed from width/4 to width/5) + const trunkWidth = width/5.5; ctx.fillStyle = trunkColor; ctx.fillRect( x - trunkWidth/2, @@ -682,7 +682,7 @@ const renderMapleTree = (ctx, tree, groundY) => { trunkHeight ); - // Add trunk hatching + // Add trunk hatching with updated width addHatchingPattern( ctx, x, |