Always remember the last window size and position (#9416)
make new runs of zed always match the window of the previous run of Zed, even if it's not the same workspace fixes https://github.com/zed-industries/zed/issues/5258 Release Notes: - Zed will always open new windows with the same position and location as the previous instance of Zed.
This commit is contained in:
parent
eecbafb94e
commit
41071b093c
3 changed files with 35 additions and 28 deletions
|
@ -217,7 +217,7 @@ macro_rules! query {
|
|||
|
||||
let sql_stmt = $crate::sqlez_macros::sql!($($sql)+);
|
||||
|
||||
self.select_row::<$return_type>(indoc! { $sql })?()
|
||||
self.select_row::<$return_type>(sql_stmt)?()
|
||||
.context(::std::format!(
|
||||
"Error in {}, select_row_bound failed to execute or parse for: {}",
|
||||
::std::stringify!($id),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue