This commit is contained in:
Ruben Fiszel
2025-08-23 07:54:59 +00:00
parent 366756a3b6
commit c60eeb5145
3 changed files with 8 additions and 6 deletions

View File

@@ -2571,8 +2571,6 @@ pub async fn reload_app_workspaced_route_setting(conn: &DB) -> error::Result<()>
let app_workspaced_route =
load_value_from_global_settings(conn, APP_WORKSPACED_ROUTE_SETTING).await?;
println!("Updating...");
let ws_route = match app_workspaced_route {
Some(serde_json::Value::Bool(ws_route)) => ws_route,
None => false,

View File

@@ -267,7 +267,7 @@
}
})
$effect(() => {
editor?.updateOptions({
editor?.updateOptions({
lineNumbers: $relativeLineNumbers ? 'relative' : 'on'
})
})
@@ -377,9 +377,14 @@
return
}
try {
console.log('fixedOverflowWidgets', fixedOverflowWidgets)
editor = meditor.create(divEl as HTMLDivElement, {
...editorConfig(code ?? '', lang, automaticLayout, fixedOverflowWidgets, $relativeLineNumbers),
...editorConfig(
code ?? '',
lang,
automaticLayout,
fixedOverflowWidgets,
$relativeLineNumbers
),
model,
lineDecorationsWidth: 6,
lineNumbersMinChars: 2,

View File

@@ -116,7 +116,6 @@
if (deepEqual(runnable, lastRunnable)) {
return
}
console.log('runnable', runnable)
notFound = false
if (runnable.runType == 'script') {
refreshScript(runnable)