Fix dark mode for markers
This commit is contained in:
parent
5e77343197
commit
fccb30b5a5
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue