forked from Blendman974/faceclaw
Fix some iOS crashes; show the ring connection setting
This commit is contained in:
1 parent
e12ea8ee4c
commit
7e59f4a58d
6 files changed
+103
-15
No files matched your search
@@ -524,7 +524,10 @@ export class FaceclawCommunicatorBridge {
|
||||
id, Math.round(options.x), Math.round(options.y), Math.round(options.width), Math.round(options.height),
|
||||
Math.round(options.zOrder), transparency,
|
||||
);
|
||||
if (configured !== false) this.nativeSurfaces.add(id);
|
||||
// Kotlin logged why; reject so callers don't treat the surface as live (as on Android,
|
||||
// where the compositor's exception reaches JS).
|
||||
if (configured === false) throw new Error(`Could not configure surface ${id}`);
|
||||
this.nativeSurfaces.add(id);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user