Skip to content

Commit d3af3f7

Browse files
authored
fix render flickering (#97)
1 parent 1ad2e4c commit d3af3f7

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/kiorg/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "kiorg"
3-
version = "1.4.1"
3+
version = "1.4.2"
44
edition = "2024"
55
rust-version = "1.87"
66
authors = ["houqp"]

crates/kiorg/src/app.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -949,9 +949,7 @@ impl eframe::App for Kiorg {
949949
#[cfg(feature = "debug")]
950950
ctx.set_debug_on_hover(true);
951951

952-
if self.new_preview_loaded(ctx) {
953-
return;
954-
}
952+
self.new_preview_loaded(ctx);
955953
self.check_notifications();
956954

957955
if self

0 commit comments

Comments
 (0)