Skip to content

Commit

Permalink
feat: repaint as soon as possible
Browse files Browse the repository at this point in the history
  • Loading branch information
SilenLoc committed May 11, 2023
1 parent 108d1d1 commit ed5ad2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ impl TypeFastApp {

impl eframe::App for TypeFastApp {
fn update(&mut self, ctx: &egui::Context, _frame: &mut eframe::Frame) {
ctx.request_repaint();
egui::CentralPanel::default().show(ctx, |ui| {
egui::ScrollArea::vertical()
.id_source("all")
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ fn main() -> eframe::Result<()> {
tracing_subscriber::fmt::init();

let native_options = eframe::NativeOptions {
fullsize_content:false,
fullsize_content: false,
always_on_top: false,
maximized: false,
decorated: true,
Expand Down

0 comments on commit ed5ad2e

Please sign in to comment.