BUILD199 (2026.11.03.1) — исправить удаления и добавить разрешение плашек
This commit is contained in:
@@ -15,7 +15,11 @@ const names=['currentHockeyPenaltyEntries','activeHockeyPenaltyEntries','hockeyP
|
||||
'buildShortcutRuntimeContext','isTimerComponent','getByPath','formatValue','templateValue','templateSequenceValue',
|
||||
'vmixOverlayLayer','vmixInputByRef','vmixInventoryInputs','hockeyStoreGameControl',
|
||||
'hockeyReadyPenaltyCounts','hockeyHasPendingPenaltyInteractions','hockeyFlushPendingPenaltyInteractions',
|
||||
'hockeyStrengthMappingSignature','hockeyTeamStateFlagSignature','hockeyTimerSelectedGameId'];
|
||||
'hockeyStrengthMappingSignature','hockeyTeamStateFlagSignature','hockeyTimerSelectedGameId',
|
||||
'hockeyAuxiliaryGateContext','hockeyScoreboardAuxiliariesEnabled',
|
||||
'hockeyAuxiliaryVisibilityCommands','hockeyScoreboardAuxiliaryCommand',
|
||||
'hockeyObserveScoreForPenaltyGoal','hockeyGoalPenaltyContext','noteHockeySelectionContext',
|
||||
'hockeyObserveAuxiliaryGateControl'];
|
||||
const clampDefinition=source.match(/^ const clamp = .+;$/m);assert.ok(clampDefinition,'actual production clamp');
|
||||
const definitions=clampDefinition[0]+'\n'+names.map(name=>{const start=source.search(new RegExp(' (?:async )?function '+name+'\\('));
|
||||
assert.ok(start>=0,name);return source.slice(start,source.indexOf('\n }',start)+4);}).join('\n');
|
||||
@@ -48,7 +52,7 @@ const ctx={console,state,performance,Date,setTimeout,clearTimeout,window:{UIBuil
|
||||
vm.createContext(ctx);vm.runInContext(definitions,ctx);
|
||||
const functions=()=>sent.map(c=>c.Function);
|
||||
const settle=async()=>{for(let i=0;i<12;i++)await Promise.resolve();};
|
||||
const serverState=()=>({game_id:'g',current_period:'1',strength:{home_penalties:0,away_penalties:1,advantage_side:'home'}});
|
||||
const serverState=()=>({game_id:'g',current_period:'1',flags:{scoreboard_auxiliaries_enabled:true},strength:{home_penalties:0,away_penalties:1,advantage_side:'home'}});
|
||||
const afterSave=async()=>{ctx.hockeyStoreGameControl('g',serverState(),{render:false,dispatch:false});await settle();};
|
||||
(async()=>{
|
||||
// No local ON AIR latch, only authoritative vMix tally (e.g. after reload).
|
||||
|
||||
Reference in New Issue
Block a user