Skip to content

web page jittering #233

@r2evans

Description

@r2evans

When hgd() is running and I rmarkdown::render() a document with plotting components, the web page jitters frequently with a faintly-visible "Device inactive".

I'm able to get the behavior I want by disabling the "inactive" display, ala (crudely):

modified   client/src/App.svelte
@@ -54,9 +54,9 @@
           connectionStore.setDeviceActive(active);
           if (deviceInactiveTimer) clearTimeout(deviceInactiveTimer);
           if (!active) {
-            deviceInactiveTimer = setTimeout(() => {
-              uiStore.showOverlay("Device inactive.");
-            }, 1000);
+            // deviceInactiveTimer = setTimeout(() => {
+            //   uiStore.showOverlay("Device inactive.");
+            // }, 1000);
           } else {
             uiStore.hideOverlay();
           }

I understand that you feel it is best to keep this as the default behavior, are you amenable to making that behavior optional?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions