MCPcopy Index your code
hub / github.com/ColmapView/Colmapview.github.io / getTouchModeAutoAction

Function getTouchModeAutoAction

src/appStartupPolicy.ts:67–75  ·  view source on GitHub ↗
(isTouchDevice: boolean)

Source from the content-addressed store, hash-verified

65}
66
67export function getTouchModeAutoAction(isTouchDevice: boolean): TouchModeStartupAction | null {
68 if (!isTouchDevice) return null;
69
70 return {
71 enabled: true,
72 source: 'auto',
73 logMessage: APP_TOUCH_AUTO_LOG_MESSAGE,
74 };
75}
76
77export function getShareSelectedImageId(config: ShareConfig | null | undefined): number | null {
78 const selectedImageId = config?.camera?.selectedImageId;

Callers 2

AppFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected