mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Draw outlined draped lines with their outline; relay pinches for an early Ctrl+wheel
A draped solid line with an outline went into a colour batch and lost its edge; it now draws by its own outline material. A camera controller that binds Ctrl+wheel before the controls are made relays trackpad pinches from the start, not only after the binding is set again. A raster shell image zero pixels wide is left to the material, as before.
This commit is contained in:
1 parent
8ca657e63f
commit
d5e3968caa
5 files changed
+59
-3
No files matched your search
@@ -1944,8 +1944,12 @@ export function createCesiumDraw({
|
||||
});
|
||||
}
|
||||
|
||||
/** Whether a draped line draws in a batch of solid ones. */
|
||||
const batchable = (item) => item.style.kind === 'solid' && !revealed(item);
|
||||
/**
|
||||
* Whether a draped line draws in a batch of solid ones: a batch draws
|
||||
* colours only, so an outlined line draws by its own material.
|
||||
*/
|
||||
const batchable = (item) =>
|
||||
item.style.kind === 'solid' && !item.style.outline && !revealed(item);
|
||||
|
||||
/**
|
||||
* A ground primitive of a draped line's own, drawn by a material (a
|
||||
|
||||
Reference in new issue
Block a user