summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpml68 <contact@pml68.dev>2025-02-01 10:49:49 +0100
committerpml68 <contact@pml68.dev>2025-02-01 10:49:59 +0100
commitee116bc3369194920005e84c2287ba229032e64f (patch)
treeac2d87c88307d956943fdd12cb3b62473febdf87
parentrefactor: get rid of Uuid, use widget::Id directly (diff)
downloadiced-builder-ee116bc3369194920005e84c2287ba229032e64f.tar.gz
feat: switch text editor to animated theme value
-rw-r--r--Cargo.lock2
-rw-r--r--src/main.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 502577a..4592609 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2041,7 +2041,7 @@ dependencies = [
[[package]]
name = "iced_custom_highlighter"
version = "0.1.0"
-source = "git+https://github.com/pml68/iced_custom_highlighter?branch=fix%2Ftemp-update-on-theme-changed#a536d6585139bb772458acc158573eecf9794c51"
+source = "git+https://github.com/pml68/iced_custom_highlighter?branch=fix%2Ftemp-update-on-theme-changed#48f6da3c093ed1d57f5f229383b85e903f882f41"
dependencies = [
"iced_widget",
"syntect",
diff --git a/src/main.rs b/src/main.rs
index 3a52deb..ca2c017 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -367,7 +367,7 @@ impl App {
),
DesignerPage::CodeView => code_view::view(
&self.editor_content,
- self.theme.target().clone(),
+ self.theme.value().clone(),
is_focused,
),
},