From c066eb18cb4ac13dbb381fd96d51fff500bc11d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferdinand=20K=C3=B6nneker?= Date: Tue, 29 Oct 2024 11:18:27 +0100 Subject: [PATCH] Switching usage of the "collapsed" and "expanded" icons in the Frontend --- uvls/src/webview/frontend.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uvls/src/webview/frontend.rs b/uvls/src/webview/frontend.rs index 22d7d323..0a67a05f 100644 --- a/uvls/src/webview/frontend.rs +++ b/uvls/src/webview/frontend.rs @@ -377,11 +377,11 @@ fn FileEntry(cx: Scope, node: UIEntry, leaf: bool, sym: ModuleSymbol, tag: u8) - ui_task.send(UIAction::ToggleEntry(*sym,*tag)) }, if node.open{ - rsx!{Icon{icon:Icon::Collapse}} + rsx!{Icon{icon:Icon::Expand}} } else{ - rsx!{Icon{icon:Icon::Expand}} + rsx!{Icon{icon:Icon::Collapse}} } }