From ee116bc3369194920005e84c2287ba229032e64f Mon Sep 17 00:00:00 2001 From: pml68 Date: Sat, 1 Feb 2025 10:49:49 +0100 Subject: feat: switch text editor to animated theme value --- Cargo.lock | 2 +- src/main.rs | 2 +- 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, ), }, -- cgit v1.2.3