mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-10 22:32:17 +02:00
12 lines
278 B
TypeScript
12 lines
278 B
TypeScript
import { ipcRenderer } from 'electron';
|
|
|
|
const setLocalSurfaceVisible = (visible: boolean) => {
|
|
ipcRenderer.send('visualizer-set-local-surface-visible', visible);
|
|
};
|
|
|
|
export const visualizer = {
|
|
setLocalSurfaceVisible,
|
|
};
|
|
|
|
export type VisualizerApi = typeof visualizer;
|