mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-19 09:42:21 +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
@@ -353,7 +353,7 @@ function placeIn(outer, inner) {
|
||||
* pixel wide image would never draw. Doubling the column samples the same.
|
||||
*/
|
||||
function widened(source) {
|
||||
if (!(source?.width < 2)) return source;
|
||||
if (source?.width !== 1) return source;
|
||||
const canvas =
|
||||
typeof document !== 'undefined'
|
||||
? document.createElement('canvas')
|
||||
|
||||
Reference in new issue
Block a user