forked from Blendman974/faceclaw
Add Glanceboard depth setting
This commit is contained in:
1 parent
71c1971992
commit
915f155819
29 files changed
+262
-50
No files matched your search
@@ -33,6 +33,8 @@ export class SurfaceCompositor {
|
||||
const surface = this.surfaces.get(id)
|
||||
if (surface) surface.visible = visible
|
||||
}
|
||||
/** Stereo depth only shifts the lenses; this local composite shows the unshifted screen. */
|
||||
setSurfaceDepth(_id: string, _depth: number): void {}
|
||||
setUnderlayDim(belowZOrder: number, factor: number): void {
|
||||
if (!Number.isFinite(factor)) throw new Error('Invalid dim factor')
|
||||
this.dimBelow = belowZOrder
|
||||
|
||||
Reference in new issue
Block a user