splitter lines must stay on top of other overlays

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ia4fd1a0a35c19b756c89ef82df05385250b676d2
This commit is contained in:
Dennis Francis 2021-02-25 12:38:12 +05:30 committed by Dennis Francis
parent 25882d0186
commit 8aeaf9f2ee

View file

@ -14,6 +14,9 @@ class CSplitterLine extends CPolyline {
constructor(map: any, options: any) {
super(new CPointSet(), options);
// Splitters should always be on top.
this.zIndex = Infinity;
if (options.isHoriz !== undefined)
this.isHoriz = options.isHoriz;