fix(ios): refine canvas and screen handling

This commit is contained in:
Peter Steinberger
2025-12-19 12:39:58 +01:00
parent 6795e78edf
commit 22f9322905
4 changed files with 11 additions and 16 deletions

View File

@@ -365,7 +365,7 @@ final class NodeAppModel {
private func handleInvoke(_ req: BridgeInvokeRequest) async -> BridgeInvokeResponse {
let command = req.command
if (command.hasPrefix("canvas.") || command.hasPrefix("camera.") || command.hasPrefix("screen.")),
if command.hasPrefix("canvas.") || command.hasPrefix("camera.") || command.hasPrefix("screen."),
self.isBackgrounded
{
return BridgeInvokeResponse(