Skip to content

Commit

Permalink
docs: comments improved
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjackwills committed Feb 13, 2024
1 parent 93d4901 commit f0973e0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ See the <a href='https://github.com/mrjackwills/obliqoro/releases/latest' target
+ [ ] Statistics for the number of sessions worked
+ [ ] Ability to display on multiple monitors
+ [ ] General code refactoring
+ [ ] Frontend link to the location of the SQLite file on disk
+ [ ] Testing on Mac
+ [ ] Password for exiting a long break?
+ [ ] Setting to enable writing logs to file when on production version
Expand Down
1 change: 0 additions & 1 deletion src-tauri/src/tick.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ pub fn tick_process(state: &Arc<Mutex<ApplicationState>>) {
tokio::spawn(async move {
spawn_state.lock().tick_process();
});
// 500ms?
tokio::time::sleep(std::time::Duration::from_millis(500)).await;
}
}));
Expand Down
3 changes: 2 additions & 1 deletion src-tauri/src/window_action.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ impl WindowAction {
window.center().ok();
}

/// Change from full screen to the standard window size
fn _remove_fullscreen(window: &tauri::Window) {
window.set_resizable(true).ok();
window.set_fullscreen(false).ok();
Expand Down Expand Up @@ -73,7 +74,7 @@ impl WindowAction {
}
}

/// Change from full screen to set window size
/// Change from full screen to the standard window size
pub fn remove_fullscreen(app: &AppHandle) {
if let Some(window) = app.get_window(ObliqoroWindow::Main.as_str()) {
match window.is_visible() {
Expand Down

0 comments on commit f0973e0

Please sign in to comment.