working companion prototype
This commit is contained in:
@@ -77,6 +77,7 @@ const TEMPLATE_PATHS = {
|
||||
},
|
||||
2: {
|
||||
hostedRacingTab: 'step02-hosted/hosted-racing-tab.png',
|
||||
// Using 1x template - will be scaled by 2x for Retina displays
|
||||
createRaceButton: 'step02-hosted/create-race-button.png',
|
||||
sessionList: 'step02-hosted/session-list.png',
|
||||
},
|
||||
@@ -281,13 +282,15 @@ export const IRacingTemplateMap: IRacingTemplateMapType = {
|
||||
},
|
||||
|
||||
// Step 2: HOSTED_RACING
|
||||
// NOTE: Using DEBUG confidence (0.5) temporarily to test template matching
|
||||
// after fixing the Retina scaling issue (DISPLAY_SCALE_FACTOR=1)
|
||||
2: {
|
||||
indicators: [
|
||||
createImageTemplate(
|
||||
'step2-hosted-tab',
|
||||
TEMPLATE_PATHS.steps[2].hostedRacingTab,
|
||||
'Hosted racing tab indicator',
|
||||
{ confidence: DEFAULT_CONFIDENCE.STANDARD }
|
||||
{ confidence: DEFAULT_CONFIDENCE.DEBUG }
|
||||
),
|
||||
],
|
||||
buttons: {
|
||||
@@ -295,7 +298,7 @@ export const IRacingTemplateMap: IRacingTemplateMapType = {
|
||||
'step2-create-race',
|
||||
TEMPLATE_PATHS.steps[2].createRaceButton,
|
||||
'Create a Race button',
|
||||
{ confidence: DEFAULT_CONFIDENCE.HIGH }
|
||||
{ confidence: DEFAULT_CONFIDENCE.DEBUG }
|
||||
),
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user