feat: Update compass layer and rose element id for v1.98.00

This commit is contained in:
Azgaar 2024-07-07 18:40:04 +02:00
parent e4f2de6472
commit fc7ef72628
20 changed files with 157 additions and 122 deletions

View file

@ -1525,10 +1525,6 @@ function toggleCompass(event) {
if (!layerIsOn("toggleCompass")) {
turnButtonOn("toggleCompass");
$("#compass").fadeIn();
if (!compass.selectAll("*").size()) {
compass.append("use").attr("xlink:href", "#rose");
shiftCompass();
}
if (event && isCtrlClick(event)) editStyle("compass");
} else {
if (event && isCtrlClick(event)) {