mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-19 09:42:21 +00:00
fix(library): a double-click follows a view dot and zooms to a view area or coverage border again
A view-bounded layer's features and a tile entry's coverage outline were entities, which the default renderer's double-click followed (points) or zoomed to (lines and areas); a new view replaced them and ended the follow. As draw-port items they took no part in it, and the outline was drawn unpickable. It is picked again, as its entities were.
This commit is contained in:
1 parent
898909c245
commit
df0afa82e1
3 files changed
+172
-12
No files matched your search
@@ -157,6 +157,8 @@ test('a bbox outline draws on the ground with the drape, and goes with it', asyn
|
||||
const [ring] = [...set.items.values()];
|
||||
assert.equal(ring.mode, 'draped');
|
||||
assert.equal(ring.positions.length, 5);
|
||||
assert.notEqual(set.spec.pickable, false, 'picked, as its entity was');
|
||||
assert.notEqual(ring.pickable, false);
|
||||
assert.equal(layer.getDiagnostics().outlineRings, 1);
|
||||
await layer.disable();
|
||||
assert.equal(set.disposed, true);
|
||||
|
||||
Reference in new issue
Block a user