Fix dark mode for markers

This commit is contained in:
tobspr 2020-06-16 10:36:32 +02:00
parent 5e77343197
commit fccb30b5a5
2 changed files with 3 additions and 1 deletions

View File

@ -84,6 +84,8 @@
@include S(width, 15px);
@include S(height, 15px);
pointer-events: none;
// Double invert, to make sure it has the right color
@include DarkThemeInvert();
}
}
}

View File

@ -223,7 +223,7 @@ export class ShapeDefinition extends BasicSerializableObject {
layers.push(quads);
}
if (layers.length === 0) {
if (layers.length === 0 || layers.length > 4) {
return false;
}