mirror of
https://github.com/enso-org/enso.git
synced 2024-11-26 08:52:58 +03:00
parent
79e20adcc0
commit
f9ffa47e32
@ -8,7 +8,7 @@ const emit = defineEmits<{ recordOnce: []; 'update:recordMode': [enabled: boolea
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="RecordControl">
|
<div class="RecordControl">
|
||||||
<div class="control left-end" @click.stop="() => emit('update:recordMode', !props.recordMode)">
|
<div class="control left-end">
|
||||||
<ToggleIcon
|
<ToggleIcon
|
||||||
icon="record"
|
icon="record"
|
||||||
class="iconButton"
|
class="iconButton"
|
||||||
@ -17,8 +17,14 @@ const emit = defineEmits<{ recordOnce: []; 'update:recordMode': [enabled: boolea
|
|||||||
@update:modelValue="emit('update:recordMode', $event)"
|
@update:modelValue="emit('update:recordMode', $event)"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="control right-end" @click.stop="() => emit('recordOnce')">
|
<div class="control right-end">
|
||||||
<SvgButton title="Record Once" class="iconButton" name="record_once" draggable="false" />
|
<SvgButton
|
||||||
|
title="Record Once"
|
||||||
|
class="iconButton"
|
||||||
|
name="record_once"
|
||||||
|
draggable="false"
|
||||||
|
@click.stop="() => emit('recordOnce')"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -189,7 +189,6 @@ export class ExecutionContext extends ObservableV2<ExecutionContextNotification>
|
|||||||
this.queue.pushTask(async (state) => {
|
this.queue.pushTask(async (state) => {
|
||||||
if (state.status !== 'created') {
|
if (state.status !== 'created') {
|
||||||
this.sync()
|
this.sync()
|
||||||
return state
|
|
||||||
}
|
}
|
||||||
await this.lsRpc.recomputeExecutionContext(this.id, expressionIds, executionEnvironment)
|
await this.lsRpc.recomputeExecutionContext(this.id, expressionIds, executionEnvironment)
|
||||||
return state
|
return state
|
||||||
|
Loading…
Reference in New Issue
Block a user