Skip to content

Commit

Permalink
fix bug quick resize not working
Browse files Browse the repository at this point in the history
  • Loading branch information
tarkah committed May 12, 2020
1 parent aca95d0 commit 0c9b436
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,12 @@ fn main() {
}
Message::InitializeWindows => {
let mut grid = GRID.lock().unwrap();
let quick_resize = grid.quick_resize;

*grid = Grid::from(&*CONFIG.lock().unwrap());

grid.quick_resize = quick_resize;

spawn_grid_window(close_channel.1.clone());
}
Message::CloseWindows => {
Expand Down

0 comments on commit 0c9b436

Please sign in to comment.