feat: burg group editor - text-shadow

This commit is contained in:
Azgaar 2024-10-10 00:20:55 +02:00
parent b700bf0630
commit 1125192b72
14 changed files with 60 additions and 90 deletions

View file

@ -467,12 +467,6 @@ export function resolveVersionConflicts(mapVersion) {
if (oceanPattern) oceanPattern.removeAttribute("opacity");
const oceanicPattern = document.getElementById("oceanicPattern");
if (!oceanicPattern.getAttribute("opacity")) oceanicPattern.setAttribute("opacity", 0.2);
// v 1.63 moved label text-shadow from css to editable inline style
burgLabels.select("#cities").style("text-shadow", "white 0 0 4px");
burgLabels.select("#towns").style("text-shadow", "white 0 0 4px");
labels.select("#states").style("text-shadow", "white 0 0 4px");
labels.select("#addedLabels").style("text-shadow", "white 0 0 4px");
}
if (isOlderThan("1.64.0")) {