Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonbrad committed Apr 15, 2024
1 parent c65d6dd commit fc5b179
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,7 @@ pub struct Wish {

impl Wish {
pub fn init(config: config::Config) -> Self {
let wish = if cfg!(debug_assertions) {
rstk::trace_with("wish").unwrap()
} else {
rstk::start_wish().unwrap()
};
let wish = rstk::trace_with("wish").unwrap();

init_rstk_ext();

Expand Down Expand Up @@ -137,8 +133,8 @@ impl Wish {
Wish {
predicates_widget: rstk::make_label(&wish),
cursor_widget: rstk::make_label(&wish),
predicates_window: rstk::make_toplevel(&wish),
window: wish,
window: rstk::make_toplevel(&wish),
predicates_window: wish,
border: 0.0,
themes,
predicates: Vec::new(),
Expand Down

0 comments on commit fc5b179

Please sign in to comment.