Skip to content

Commit

Permalink
Overlay color changed
Browse files Browse the repository at this point in the history
  • Loading branch information
PrafulB committed Aug 28, 2024
1 parent 320d760 commit df26504
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ <h2 class="text-xl text-gray-800 sm:truncate sm:text-xl sm:tracking-wide w-max s
</span>
</div>
<div id="viewer" class="w-full">
<img id="tileImg" class="block outline-dashed outline-lime-400 place-self-end"
<img id="tileImg" class="block outline-dashed outline-lime-500 place-self-end"
crossorigin="anonymous"></img>
<span class="text-sm italic text-gray-800">(Try moving the green box on the left to view a different patch.)</span>
</div>
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ $.loadTileOverlay = ({ tileX, tileY, tileWidth, tileHeight, tileResolution }, ov
const createOverlay = () => {
const tileOverlay = document.createElement("div")
tileOverlay.id = "tileOverlay"
tileOverlay.className = "border border-2 border-dashed border-lime-400 cursor-grab shadow-2xl"
tileOverlay.className = "border border-2 border-dashed border-lime-500 cursor-grab shadow-2xl"

Object.entries(cleanedTileParams).forEach(([key, val]) => {
tileOverlay.setAttribute(`data-${key}`, val)
Expand Down

0 comments on commit df26504

Please sign in to comment.