Skip to content

Commit

Permalink
Test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dhardy committed Mar 12, 2024
1 parent 814c63c commit 2be7b34
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions crates/kas-core/src/theme/draw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -526,8 +526,7 @@ mod test {

let _scale = draw.size_cx().scale_factor();

let text = crate::text::Text::new("sample");
let class = TextClass::Label(false);
draw.text_selected(Rect::ZERO, &text, .., class)
let text = crate::theme::Text::new("sample", TextClass::Label(false));
draw.text_selected(Rect::ZERO, &text, ..)
}
}

0 comments on commit 2be7b34

Please sign in to comment.