Skip to content

Commit

Permalink
Focus editor on init
Browse files Browse the repository at this point in the history
  • Loading branch information
prasmussen committed Aug 3, 2024
1 parent 4db2510 commit fa18b2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions glot_core/src/page/snippet_page.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ impl Page<Model, Msg, AppEffect, Markup> for SnippetPage {
let model = self.get_model()?;

let effect = effect::batch(vec![
focus_editor_effect(),
load_settings_effect(),
get_language_version_effect(&model.language),
]);
Expand Down

0 comments on commit fa18b2a

Please sign in to comment.