Skip to content

Commit

Permalink
🐛 Force marker popup text color to black
Browse files Browse the repository at this point in the history
  • Loading branch information
Xen0Xys committed Aug 8, 2024
1 parent 6cdc614 commit 5ae9abd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/models/message_handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ export default class MessageHandler {
const position = marker["position"].split(" ");
markers.push(
A.marker(parseFloat(position[0]), parseFloat(position[1]), {
popupTitle: marker["title"],
popupDesc: marker["description"],
popupTitle: `<p style="color: black;">${marker["title"]}</p>`,
popupDesc: `<p style="color: black;">${marker["description"]}</p>`,
}),
);
}
Expand Down

0 comments on commit 5ae9abd

Please sign in to comment.